services.tailscale.authKeyFile

NixOS option

A file containing the auth key. Tailscale will be automatically started if provided. Services that bind to Tailscale IPs should order using systemd.services.<name>.after tailscaled-autoconnect.service.

type: null or absolute path
Default
null
Example
"/run/secrets/tailscale_key"
declared in: nixos/modules/services/networking/tailscale.nixView source on NixOS/nixpkgs →