Files
nix-config/systems/pc/tailscale-client.nix
2025-10-30 21:59:31 +01:00

16 lines
301 B
Nix

{
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 ];
};
}