There is no zoneCfg

This commit is contained in:
2023-10-05 18:51:39 -07:00
parent 3baca55746
commit 3244b2d821
2 changed files with 7 additions and 8 deletions
+2 -3
View File
@@ -76,9 +76,8 @@ in {
stateDirectory = cfg.state-directory;
zones = mapAttrs' (dom: domCfg:
nameValuePair "${dom}." {
dnssec = zoneCfg.ksk.key-file != null;
ksk.keyFile =
mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file;
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;
}) cfg.domains;