nixos-config/modules/common/networking.nix

9 lines
179 B
Nix
Raw Normal View History

2025-09-04 10:21:17 +02:00
_: {
networking = {
networkmanager.enable = true;
nameservers = ["1.1.1.1" "8.8.8.8"];
dhcpcd.extraConfig = "nohook resolv.conf";
firewall.enable = true;
};
}