mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Switches DNS to Cloudflare + Quad9
This commit is contained in:
parent
a2a0cb595e
commit
d44754da38
1 changed files with 11 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue