Switches DNS to Cloudflare + Quad9

This commit is contained in:
willemml 2024-02-13 13:52:51 -08:00
parent a2a0cb595e
commit d44754da38
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -16,9 +16,19 @@
inputs.stylix.nixosModules.stylix
];
networking.useDHCP = lib.mkDefault true;
hardware.enableRedistributableFirmware = lib.mkDefault true;
networking = {
useDHCP = lib.mkDefault true;
nameservers = ["1.1.1.1" "1.0.0.1" "9.9.9.9" "2620:fe::fe" "2620:fe::9" "149.112.112.112"];
dhcpcd.extraConfig = "nohook resolv.conf";
networkmanager.dns = "none";
};
services.resolved.enable = false;
programs.command-not-found.enable = false;
boot.tmp.useTmpfs = lib.mkDefault true;