Fuck...just print the zones

This commit is contained in:
niten 2023-10-05 19:02:13 -07:00
parent 3244b2d821
commit b9840d547c
1 changed files with 2 additions and 1 deletions

View File

@ -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 == { }