nix-config/modules/firewall.nix
2025-04-16 21:54:10 +02:00

8 lines
206 B
Nix

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