diff --git a/services/vpn/headplane.nix b/services/vpn/headplane.nix index b8b86e9..c001276 100644 --- a/services/vpn/headplane.nix +++ b/services/vpn/headplane.nix @@ -36,6 +36,7 @@ services.headplane = { enable = true; settings.headscale.dns_records_path = "/var/lib/headscale/extra_records.json"; + settings.headscale.api_key_path = config.sops.secrets.headplane_headscale_api_key.path; settings.server = { cookie_secret_path = config.sops.secrets.headplane_cookie_secret.path; @@ -49,7 +50,6 @@ # endpoint. Regenerating the provider in Authentik changes it. client_id = "NNzYUrSBlCqxyCTfxlEJRpT5v5EQWHLpfOsXBine"; client_secret_path = config.sops.secrets.headplane_oidc_client_secret.path; - headscale_api_key_path = config.sops.secrets.headplane_headscale_api_key.path; }; }; }