Skip to content

Commit

Permalink
Use ensureDBOwnership instead of ensurePermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp committed Dec 24, 2023
1 parent 73a252a commit c9ec0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ in
services.postgresql = {
ensureUsers = [{
name = "accentor";
ensurePermissions = { "DATABASE accentor" = "ALL PRIVILEGES"; };
ensureDBOwnership = true;
}];
ensureDatabases = [ "accentor" ];
};
Expand Down

0 comments on commit c9ec0d4

Please sign in to comment.