fix(neptun): headplane API key under settings.headscale
headplane 0.7.0 (nixos-26.05) dropped oidc.headscale_api_key_path in favour of headscale.api_key_path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
services.headplane = {
|
services.headplane = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.headscale.dns_records_path = "/var/lib/headscale/extra_records.json";
|
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 = {
|
settings.server = {
|
||||||
cookie_secret_path = config.sops.secrets.headplane_cookie_secret.path;
|
cookie_secret_path = config.sops.secrets.headplane_cookie_secret.path;
|
||||||
@@ -49,7 +50,6 @@
|
|||||||
# endpoint. Regenerating the provider in Authentik changes it.
|
# endpoint. Regenerating the provider in Authentik changes it.
|
||||||
client_id = "NNzYUrSBlCqxyCTfxlEJRpT5v5EQWHLpfOsXBine";
|
client_id = "NNzYUrSBlCqxyCTfxlEJRpT5v5EQWHLpfOsXBine";
|
||||||
client_secret_path = config.sops.secrets.headplane_oidc_client_secret.path;
|
client_secret_path = config.sops.secrets.headplane_oidc_client_secret.path;
|
||||||
headscale_api_key_path = config.sops.secrets.headplane_headscale_api_key.path;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user