diff options
author | TQ Hirsch <thequux@thequux.com> | 2023-06-29 12:42:01 +0200 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2023-07-01 18:55:51 +0800 |
commit | dd481f2ee3bcf8e0555968dbdaa03a45bd5ae56e (patch) | |
tree | 8eeb39d8e9f8a0a840558d8944ad0bd72bd73604 /nixos | |
parent | 8ab22ad2ad166a75e517bc3d0a6625d3e3f4517a (diff) |
pdns: Changed paths in /etc to use pdns instead of powerdns
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/pdns-recursor.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/networking/powerdns.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/pdns-recursor.nix b/nixos/modules/services/networking/pdns-recursor.nix index af5ea08a3609a..f929532ba09fc 100644 --- a/nixos/modules/services/networking/pdns-recursor.nix +++ b/nixos/modules/services/networking/pdns-recursor.nix @@ -159,7 +159,7 @@ in { config = mkIf cfg.enable { - environment.etc."powerdns-recursor".source = configDir; + environment.etc."pdns-recursor".source = configDir; services.pdns-recursor.settings = mkDefaultAttrs { local-address = cfg.dns.address; diff --git a/nixos/modules/services/networking/powerdns.nix b/nixos/modules/services/networking/powerdns.nix index fd82791f21c1e..03bf93301d85d 100644 --- a/nixos/modules/services/networking/powerdns.nix +++ b/nixos/modules/services/networking/powerdns.nix @@ -38,7 +38,7 @@ in { config = mkIf cfg.enable { - environment.etc.powerdns.source = finalConfigDir; + environment.etc.pdns.source = finalConfigDir; systemd.packages = [ pkgs.pdns ]; |