Files
nix-config/systems/pc/tailscale-client.nix
2025-10-27 18:32:41 +01:00

11 lines
291 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 ];
};
}