nix-config/hosts/Anton/firewall.nix

9 lines
141 B
Nix
Raw Normal View History

2024-07-28 17:51:58 +02:00
{ pkgs, ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 3000 ];
allowedUDPPorts = [ 22 ];
};
}