nix-config/modules/firewall.nix

8 lines
198 B
Nix
Raw Normal View History

2025-04-03 12:50:08 +02:00
{ pkgs, ... }:
{
2025-09-03 10:03:29 +02:00
networking.firewall.allowedTCPPorts = [ 57621 ];
networking.firewall.allowedUDPPorts = [ 5353 ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
2025-04-03 12:50:08 +02:00
}