Files
MinOS-prime/nixos/firewall.nix
2025-07-11 18:08:12 +03:00

11 lines
267 B
Nix

{ ... }:
{
# Open ports in the firewall.
networking.firewall.enable = true;
# networking.firewall.allowedTCPPorts = [ 3000 ];
# networking.firewall.allowedUDPPorts = [ 3000 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
}