nix/nixos/common/modules/networking.nix

16 lines
273 B
Nix
Raw Normal View History

2023-08-23 19:12:29 +09:00
{pkgs, config, ...}: {
2023-08-25 20:52:03 +09:00
# Enable networking with NetworkManager
2023-07-12 23:43:21 +09:00
networking = {
networkmanager = {
enable = true;
};
enableIPv6 = false;
firewall = {
enable = true;
allowedTCPPorts = [ ];
allowedUDPPorts = [ ];
};
};
}