From b12c2840603001dc13251d363589790fa3e4165b Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 5 Oct 2023 12:16:17 -0700 Subject: [PATCH] Just fuckin don't do nothin --- authoritative-dns.nix | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/authoritative-dns.nix b/authoritative-dns.nix index 75efa86..60bdf1f 100644 --- a/authoritative-dns.nix +++ b/authoritative-dns.nix @@ -66,24 +66,24 @@ in { }; }; - imports = [ ./nsd.nix ./zone-to-zonefile.nix ]; + imports = [ ./nsd.nix ]; config = mkIf cfg.enable { - services.fudo-nsd = { - enable = true; - identity = cfg.identity; - interfaces = cfg.listen-ips; - stateDirectory = cfg.state-directory; - zones = mapAttrs' (dom: domCfg: - let zoneCfg = domCfg.zone; - in nameValuePair "${dom}." { - dnssec = zoneCfg.ksk.key-file != null; - ksk.keyFile = - mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file; - data = let - content = zoneToZonefile cfg.timestamp dom domCfg.zone-definition; - in trace content content; - }) cfg.domains; - }; + # services.fudo-nsd = { + # enable = true; + # identity = cfg.identity; + # interfaces = cfg.listen-ips; + # stateDirectory = cfg.state-directory; + # zones = mapAttrs' (dom: domCfg: + # let zoneCfg = domCfg.zone; + # in nameValuePair "${dom}." { + # dnssec = zoneCfg.ksk.key-file != null; + # ksk.keyFile = + # mkIf (zoneCfg.ksk.key-file != null) zoneCfg.ksk.key-file; + # data = let + # content = zoneToZonefile cfg.timestamp dom domCfg.zone-definition; + # in trace content content; + # }) cfg.domains; + # }; }; }