adicionando a VPS

This commit is contained in:
2026-04-19 15:17:37 -03:00
parent 5f85583bd0
commit 8329531ac7
37 changed files with 1630 additions and 0 deletions
@@ -0,0 +1,31 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
# Open ports in the firewall.
networking.firewall = {
enable = false;
allowedTCPPorts = [
80
443
];
allowedUDPPortRanges = [
{
from = 47998;
to = 48000;
}
{
from = 48002;
to = 48010;
}
];
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}