From b9840d547c0906f6bee466631a8e59527c0ed5e8 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 5 Oct 2023 19:02:13 -0700 Subject: [PATCH] Fuck...just print the zones --- nsd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nsd.nix b/nsd.nix index 7413f00..9bda40e 100644 --- a/nsd.nix +++ b/nsd.nix @@ -185,7 +185,8 @@ let ${forEach " provide-xfr: " zone.provideXFR} ''; - zoneConfigs = zoneConfigs' { } "" { children = cfg.zones; }; + zoneConfigs = + zoneConfigs' { } "" { children = (trace (attrNames cfg.zones) cfg.zones); }; zoneConfigs' = parent: name: zone: if !(zone ? children) || zone.children == null || zone.children == { }