nix-config/modules/firewall.nix

8 lines
206 B
Nix
Raw Permalink Normal View History

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