Just don't include any zones for now
This commit is contained in:
parent
b99c7cf8ee
commit
c50d2f82bd
@ -74,17 +74,16 @@ in {
|
|||||||
identity = cfg.identity;
|
identity = cfg.identity;
|
||||||
interfaces = cfg.listen-ips;
|
interfaces = cfg.listen-ips;
|
||||||
stateDirectory = cfg.state-directory;
|
stateDirectory = cfg.state-directory;
|
||||||
zones = mapAttrs' (dom: domCfg:
|
# zones = mapAttrs' (dom: domCfg:
|
||||||
let zoneCfg = domCfg.zone;
|
# let zoneCfg = domCfg.zone;
|
||||||
in nameValuePair "${dom}." {
|
# in nameValuePair "${dom}." {
|
||||||
dnssec = zoneCfg.ksk.key-file != null;
|
# dnssec = zoneCfg.ksk.key-file != null;
|
||||||
ksk.keyFile =
|
# ksk.keyFile =
|
||||||
mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file;
|
# mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file;
|
||||||
data = let
|
# data = let
|
||||||
content = zoneToZonefile cfg.timestamp dom domCfg.zone-definition;
|
# content = zoneToZonefile cfg.timestamp dom domCfg.zone-definition;
|
||||||
in trace content content;
|
# in trace content content;
|
||||||
|
# }) cfg.domains;
|
||||||
}) cfg.domains;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,6 @@ let
|
|||||||
concatStringsSep "\n\n" (filter isString (split ''
|
concatStringsSep "\n\n" (filter isString (split ''
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+'' str));
|
+'' str));
|
||||||
|
|
||||||
joinLines = concatStringsSep "\n";
|
joinLines = concatStringsSep "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user