This commit is contained in:
2024-06-10 18:52:00 +02:00
parent 5d0827848e
commit 45f1713443
12 changed files with 79 additions and 23 deletions

View File

@@ -90,14 +90,10 @@ in
locations."/".extraConfig = "proxy_pass http://localhost:3001;";
};
# TODO: fix for nixos 24.05
services.postgresql.ensureUsers = [
{
name = "grafana";
ensurePermissions = {
"DATABASE \"grafana\"" = "ALL PRIVILEGES";
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
}
];
services.postgresql.ensureDatabases = [ "grafana" ];