dotfiles/nixos/modules/firewall.nix
2025-01-22 11:14:58 +01:00

10 lines
202 B
Nix

{ ... }:
{
# Open ports in the firewall.
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedUDPPorts = [
5353 # Spotify Connect
];
}