mkAttrs -> mapAttrs

This commit is contained in:
niten 2023-10-05 10:57:24 -07:00
parent 761e9454c1
commit 8006b0818f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ in {
identity = cfg.identity;
interfaces = cfg.listen-ips;
stateDirectory = cfg.state-directory;
zones = mkAttrs' (dom: domCfg:
zones = mapAttrs' (dom: domCfg:
let zoneCfg = domCfg.zone;
in nameValuePair "${dom}." {
dnssec = domCfg.ksk.key-file != null;