mkAttrs -> mapAttrs
This commit is contained in:
parent
761e9454c1
commit
8006b0818f
|
@ -72,7 +72,7 @@ in {
|
||||||
identity = cfg.identity;
|
identity = cfg.identity;
|
||||||
interfaces = cfg.listen-ips;
|
interfaces = cfg.listen-ips;
|
||||||
stateDirectory = cfg.state-directory;
|
stateDirectory = cfg.state-directory;
|
||||||
zones = mkAttrs' (dom: domCfg:
|
zones = mapAttrs' (dom: domCfg:
|
||||||
let zoneCfg = domCfg.zone;
|
let zoneCfg = domCfg.zone;
|
||||||
in nameValuePair "${dom}." {
|
in nameValuePair "${dom}." {
|
||||||
dnssec = domCfg.ksk.key-file != null;
|
dnssec = domCfg.ksk.key-file != null;
|
||||||
|
|
Loading…
Reference in New Issue