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