Files
NixVM/nixos/modules/system/networking.nix
2025-11-20 16:33:42 +01:00

16 lines
220 B
Nix

{
config,
...
}: {
networking = {
hostName = "nixOS";
networkmanager.enable = true;
firewall = {
enable = true;
# allowedTCPPorts = [ 80 443];
# allowedUDPPorts = [];
};
};
}