nix-config/hosts/Anton/firewall.nix
2024-09-26 16:20:09 +02:00

9 lines
157 B
Nix

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