modules/nixos/monitoring/grafana: ensurePermissions -> ensureDBOwnership
This commit is contained in:
parent
be4d70ad80
commit
e55dafbe9d
1 changed files with 4 additions and 6 deletions
|
@ -63,11 +63,9 @@
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "grafana" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "grafana";
|
||||
ensurePermissions = { "DATABASE grafana" = "ALL PRIVILEGES"; };
|
||||
}
|
||||
];
|
||||
ensureUsers = [{
|
||||
name = "grafana";
|
||||
ensureDBOwnership = true;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue