test out tailscale

This commit is contained in:
Kopatz
2025-10-27 18:32:41 +01:00
parent 89828cfe64
commit d169c36868
5 changed files with 32 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
{pkgs, lib, config, ...}:
{
# Run tailscale up --login-server http://<headscale_server>
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}