diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-08-04 21:01:55 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-08-04 21:01:55 -0600 |
| commit | e6983cdadb763fe73dbd67231ea56dcf2288c96f (patch) | |
| tree | 0ab3cbc053f540c3747cc23614da56ee7657eb4d /sys/ns/rr.nix | |
| parent | 3d516a3ca45ea1745467d61fe8c4ba155bf75756 (diff) | |
sys/ns: enable Gandi secondary NS
Diffstat (limited to '')
| -rw-r--r-- | sys/ns/rr.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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); |
