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