nix/nixos/common/modules/networking.nix
2023-08-25 20:52:03 +09:00

16 lines
No EOL
273 B
Nix

{pkgs, config, ...}: {
# Enable networking with NetworkManager
networking = {
networkmanager = {
enable = true;
};
enableIPv6 = false;
firewall = {
enable = true;
allowedTCPPorts = [ ];
allowedUDPPorts = [ ];
};
};
}