Files
NixVM/nixos/modules/system/networking.nix

16 lines
220 B
Nix
Raw Normal View History

2025-11-20 16:33:42 +01:00
{
config,
...
}: {
networking = {
hostName = "nixOS";
networkmanager.enable = true;
firewall = {
enable = true;
# allowedTCPPorts = [ 80 443];
# allowedUDPPorts = [];
};
};
}