Encrypted DNS: Difference between revisions

imported>Ghuntley
No edit summary
imported>Enzime
The nameservers won't get set if resolvconf is not enabled
Line 13: Line 13:
   networking = {
   networking = {
     nameservers = [ "127.0.0.1" "::1" ];
     nameservers = [ "127.0.0.1" "::1" ];
    resolvconf.enable = false;
     # If using dhcpcd:
     # If using dhcpcd:
     dhcpcd.extraConfig = "nohook resolv.conf";
     dhcpcd.extraConfig = "nohook resolv.conf";