nix-config/hosts/Anton/firewall.nix
2024-09-20 23:18:44 +02:00

9 lines
152 B
Nix

{ ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 3000 3001 8384 ];
allowedUDPPorts = [ 22 80 443 ];
};
}