nixos-config/modules/host/network.nix

23 lines
417 B
Nix
Raw Normal View History

2025-03-28 18:39:35 +03:00
{
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
# '';
}