feat: add my custom dns server
This commit is contained in:
15
modules/host/network.nix
Normal file
15
modules/host/network.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
networking = {
|
||||
enableIPv6 = true;
|
||||
useDHCP = false;
|
||||
nameservers = [ "193.222.99.172" "1.1.1.1" ];
|
||||
|
||||
dhcpcd.extraConfig = "nohook resolv.conf";
|
||||
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
dns = "none";
|
||||
insertNameservers = [ "193.222.99.172" "1.1.1.1" ];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user