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