Files
nixos-config/modules/host/network.nix
T

16 lines
300 B
Nix
Raw Normal View History

2025-03-28 18:39:35 +03:00
{
networking = {
enableIPv6 = true;
useDHCP = false;
2025-07-22 10:16:26 +03:00
nameservers = [ "185.246.223.236" "1.1.1.1" ];
2025-03-28 18:39:35 +03:00
dhcpcd.extraConfig = "nohook resolv.conf";
networkmanager = {
enable = true;
dns = "none";
2025-07-22 10:16:26 +03:00
insertNameservers = [ "185.246.223.236" "1.1.1.1" ];
2025-03-28 18:39:35 +03:00
};
};
}