17 lines
325 B
Nix
17 lines
325 B
Nix
{lib, pkgs, config, ...}: {
|
|
# Enable networking with NetworkManager
|
|
|
|
networking = {
|
|
networkmanager = {
|
|
enable = true;
|
|
};
|
|
|
|
useDHCP = lib.mkDefault true;
|
|
enableIPv6 = lib.mkForce false;
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ ];
|
|
allowedUDPPorts = [ ];
|
|
};
|
|
};
|
|
}
|