nix-config/modules/firewall.nix
2025-04-03 12:50:08 +02:00

8 lines
207 B
Nix

{ pkgs, ... }:
{
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
}