Silly tweaks...

This commit is contained in:
2023-10-05 13:30:27 -07:00
parent 205e418519
commit 899a3b45e5
2 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -75,8 +75,7 @@ in {
interfaces = cfg.listen-ips;
stateDirectory = cfg.state-directory;
zones = mapAttrs' (dom: domCfg:
let zoneCfg = domCfg.zone;
in nameValuePair "${dom}." {
nameValuePair "${dom}." {
dnssec = zoneCfg.ksk.key-file != null;
ksk.keyFile =
mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file;