nix-config/hosts/Anton/firewall.nix
2024-08-07 21:01:51 +02:00

9 lines
158 B
Nix

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