nixos-config/modules/common/networking.nix
2025-09-22 08:25:42 +02:00

9 lines
228 B
Nix

_: {
networking = {
networkmanager.enable = true;
nameservers = ["1.1.1.1" "8.8.8.8"];
dhcpcd.extraConfig = "nohook resolv.conf";
firewall.enable = true;
interfaces.enp11s0.wakeOnLan.enable = true ;
};
}