That wasn't it...
This commit is contained in:
parent
c50d2f82bd
commit
50650b0787
|
@ -74,16 +74,16 @@ in {
|
|||
identity = cfg.identity;
|
||||
interfaces = cfg.listen-ips;
|
||||
stateDirectory = cfg.state-directory;
|
||||
# zones = mapAttrs' (dom: domCfg:
|
||||
# let zoneCfg = domCfg.zone;
|
||||
# in nameValuePair "${dom}." {
|
||||
# dnssec = zoneCfg.ksk.key-file != null;
|
||||
# ksk.keyFile =
|
||||
# mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file;
|
||||
# data = let
|
||||
# content = zoneToZonefile cfg.timestamp dom domCfg.zone-definition;
|
||||
# in trace content content;
|
||||
# }) cfg.domains;
|
||||
zones = mapAttrs' (dom: domCfg:
|
||||
let zoneCfg = domCfg.zone;
|
||||
in nameValuePair "${dom}." {
|
||||
dnssec = zoneCfg.ksk.key-file != null;
|
||||
ksk.keyFile =
|
||||
mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file;
|
||||
data = let
|
||||
content = zoneToZonefile cfg.timestamp dom domCfg.zone-definition;
|
||||
in trace content content;
|
||||
}) cfg.domains;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue