nix-config/modules/firewall.nix
2025-09-03 10:03:29 +02:00

8 lines
198 B
Nix

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