From 8006b0818f4ce486da1f881dd36e127aab4f689d Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 5 Oct 2023 10:57:24 -0700 Subject: [PATCH] mkAttrs -> mapAttrs --- authoritative-dns.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authoritative-dns.nix b/authoritative-dns.nix index 2da8b7d..e3266eb 100644 --- a/authoritative-dns.nix +++ b/authoritative-dns.nix @@ -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;