hosts/plover: update Grafana settings

This commit is contained in:
Gabriel Arazas 2023-10-11 13:06:41 +08:00
parent 39bfd2dc65
commit 8fbdc73478
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -33,11 +33,12 @@ in
token_url = authSubpath "oauth2/token";
};
database = {
database = rec {
host = "127.0.0.1:${builtins.toString config.services.postgresql.port}";
password = "$_file{${config.sops.secrets."grafana/database/password".path}}";
type = "postgres";
user = config.services.grafana.database.name;
name = "grafana";
user = name;
};
log = {