lol

pdns: Changed paths in /etc to use pdns instead of powerdns

authored by

TQ Hirsch and committed by
Nick Cao
dd481f2e 8ab22ad2

+7 -7
+1 -1
nixos/modules/services/networking/pdns-recursor.nix
··· 159 159 160 160 config = mkIf cfg.enable { 161 161 162 - environment.etc."powerdns-recursor".source = configDir; 162 + environment.etc."pdns-recursor".source = configDir; 163 163 164 164 services.pdns-recursor.settings = mkDefaultAttrs { 165 165 local-address = cfg.dns.address;
+1 -1
nixos/modules/services/networking/powerdns.nix
··· 38 38 39 39 config = mkIf cfg.enable { 40 40 41 - environment.etc.powerdns.source = finalConfigDir; 41 + environment.etc.pdns.source = finalConfigDir; 42 42 43 43 systemd.packages = [ pkgs.pdns ]; 44 44
+2 -2
pkgs/servers/dns/pdns-recursor/default.nix
··· 21 21 configureFlags = [ 22 22 "--enable-reproducible" 23 23 "--enable-systemd" 24 - "sysconfdir=/etc/powerdns-recursor" 24 + "sysconfdir=/etc/pdns-recursor" 25 25 ]; 26 26 27 - installFlags = [ "sysconfdir=$(out)/etc/powerdns-recursor" ]; 27 + installFlags = [ "sysconfdir=$(out)/etc/pdns-recursor" ]; 28 28 29 29 enableParallelBuilding = true; 30 30
+3 -3
pkgs/servers/dns/pdns/default.nix
··· 69 69 "--with-libsodium" 70 70 "--with-sqlite3" 71 71 "--with-libcrypto=${openssl.dev}" 72 - "sysconfdir=/etc/powerdns" 72 + "sysconfdir=/etc/pdns" 73 73 ]; 74 74 75 75 # nix destroy with-modules arguments, when using configureFlags ··· 81 81 ''; 82 82 83 83 # We want the various utilities to look for the powerdns config in 84 - # /etc/powerdns, but to actually install the sample config file in 84 + # /etc/pdns, but to actually install the sample config file in 85 85 # $out 86 - installFlags = [ "sysconfdir=$(out)/etc/powerdns" ]; 86 + installFlags = [ "sysconfdir=$(out)/etc/pdns" ]; 87 87 88 88 enableParallelBuilding = true; 89 89 doCheck = true;