nix/nixos/common/modules/networking.nix
2023-12-06 23:03:16 +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 = [ ];
};
};
}