mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/plover: fix Grafana provider strings in settings
This commit is contained in:
parent
107241f553
commit
1ad6e7e8c5
@ -28,7 +28,7 @@ in
|
|||||||
"auth.generic_oauth" = {
|
"auth.generic_oauth" = {
|
||||||
api_url = authSubpath "oauth2/authorise";
|
api_url = authSubpath "oauth2/authorise";
|
||||||
client_id = "grafana";
|
client_id = "grafana";
|
||||||
client_secret = "$_file{${config.sops.secrets."vouch-proxy/client/secret".path}";
|
client_secret = "$__file{${config.sops.secrets."vouch-proxy/client/secret".path}";
|
||||||
enabled = true;
|
enabled = true;
|
||||||
name = "Kanidm";
|
name = "Kanidm";
|
||||||
oauth_url = authSubpath "ui/oauth2";
|
oauth_url = authSubpath "ui/oauth2";
|
||||||
@ -38,7 +38,7 @@ in
|
|||||||
|
|
||||||
database = rec {
|
database = rec {
|
||||||
host = "127.0.0.1:${builtins.toString config.services.postgresql.port}";
|
host = "127.0.0.1:${builtins.toString config.services.postgresql.port}";
|
||||||
password = "$_file{${config.sops.secrets."grafana/database/password".path}}";
|
password = "$__file{${config.sops.secrets."grafana/database/password".path}}";
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
name = "grafana";
|
name = "grafana";
|
||||||
user = name;
|
user = name;
|
||||||
@ -51,7 +51,7 @@ in
|
|||||||
|
|
||||||
security = {
|
security = {
|
||||||
admin_email = config.security.acme.defaults.email;
|
admin_email = config.security.acme.defaults.email;
|
||||||
admin_password = "$_file{${config.sops.secrets."grafana/users/admin/password".path}}";
|
admin_password = "$__file{${config.sops.secrets."grafana/users/admin/password".path}}";
|
||||||
cookie_secure = true;
|
cookie_secure = true;
|
||||||
csrf_trusted_origins = [
|
csrf_trusted_origins = [
|
||||||
vouchDomain
|
vouchDomain
|
||||||
|
Loading…
Reference in New Issue
Block a user