From 333db8717cda6697ded7f1971470aacf4ef15088 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 6 Jan 2022 09:14:28 -0800 Subject: [PATCH] Add a 'domain' option to domains. Defaults to attrName. --- lib/fudo/dns.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/fudo/dns.nix b/lib/fudo/dns.nix index f714930..fc912ae 100644 --- a/lib/fudo/dns.nix +++ b/lib/fudo/dns.nix @@ -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.";