From e6983cdadb763fe73dbd67231ea56dcf2288c96f Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 4 Aug 2024 21:01:55 -0600 Subject: sys/ns: enable Gandi secondary NS --- sys/ns/rr.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/ns/rr.nix') diff --git a/sys/ns/rr.nix b/sys/ns/rr.nix index 3ccbd55..11e1aa6 100644 --- a/sys/ns/rr.nix +++ b/sys/ns/rr.nix @@ -54,6 +54,11 @@ in default = 3600; }; + nsdConfig = mkOption { + type = attrsOf unspecified; + default = { }; + }; + content = mkOption { type = lines; readOnly = true; @@ -202,6 +207,8 @@ in }; config = { + nsdConfig.data = config.content; + content = let rrLine = rr: concatMapStringsSep " " toString ([ rr.name rr.ttl rr.class rr.type ] ++ rr.data); -- cgit v1.2.3