Try switching back to default nsd

This commit is contained in:
niten 2024-01-28 22:28:27 -08:00
parent 1671cece1c
commit 5c42fb187f
1 changed files with 8 additions and 3 deletions

View File

@ -102,14 +102,19 @@ in {
};
};
imports = [ ./nsd.nix ];
# imports = [ ./nsd.nix ];
config = mkIf cfg.enable {
services.fudo-nsd = {
fileSystems."/var/lib/nsd" = {
device = cfg.state-directory;
options = [ "bind" ];
};
services.nsd = {
enable = true;
identity = cfg.identity;
interfaces = cfg.listen-ips;
stateDirectory = cfg.state-directory;
# stateDirectory = cfg.state-directory;
zones = let
forwardZones = mapAttrs' (domain:
{ ksk, zone, notify, ... }: