{ config, ... }: { services.tailscale = { enable = true; authKeyFile = config.age.secrets.headscalePreAuthKey.path; extraUpFlags = [ "--login-server=https://head.${config.domain}" ]; }; } # vpn client