Add a 'domain' option to domains.

Defaults to attrName.
This commit is contained in:
niten 2022-01-06 09:14:28 -08:00
parent 0fab955f8f
commit 333db8717c
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ let
domainOpts = { name, ... }: {
options = with types; {
domain = mkOption {
type = str;
description = "Domain name.";
default = name;
};
dnssec = mkOption {
type = bool;
description = "Enable DNSSEC security for this zone.";