feat: add my custom dns server
This commit is contained in:
1 parent
1bd07d8062
commit
1a149b2a00
2 files changed
+23
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# environment.etc."resolv.conf".text = ''
|
||||
# nameserver 193.222.99.172
|
||||
# nameserver 1.1.1.1
|
||||
# options edns0
|
||||
# '';
|
||||
}
|
||||
Reference in new issue
Block a user