project-flake/servers/common/firewall.nix
2025-09-17 16:39:03 +07:00

9 lines
No EOL
155 B
Nix

{ config, pkgs, ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 80 443 1004 666 ];
allowedUDPPorts = [ 80 443 1004 666 ];
};
}