diff --git a/authoritative-dns.nix b/authoritative-dns.nix index 8deac2d..ab1e59d 100644 --- a/authoritative-dns.nix +++ b/authoritative-dns.nix @@ -78,8 +78,7 @@ in { nameValuePair "${dom}." { dnssec = domCfg.ksk.key-file != null; ksk.keyFile = mkIf (domCfg.ksk.key-file != null) domCfg.ksk.key-file; - data = let content = zoneToZonefile cfg.timestamp dom domCfg.zone; - in trace content content; + data = zoneToZonefile cfg.timestamp dom domCfg.zone; }) cfg.domains; }; }; diff --git a/nsd.nix b/nsd.nix index 9bda40e..7413f00 100644 --- a/nsd.nix +++ b/nsd.nix @@ -185,8 +185,7 @@ let ${forEach " provide-xfr: " zone.provideXFR} ''; - zoneConfigs = - zoneConfigs' { } "" { children = (trace (attrNames cfg.zones) cfg.zones); }; + zoneConfigs = zoneConfigs' { } "" { children = cfg.zones; }; zoneConfigs' = parent: name: zone: if !(zone ? children) || zone.children == null || zone.children == { }