Skip to content

Commit

Permalink
fixup postgres ensurePermissions clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Oct 18, 2024
1 parent 67eff88 commit 08f298e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion machines/gfdesk/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ with lib; {
ensureDatabases = [ "akkoma" ];
ensureUsers = [{
name = "akkoma";
ensurePermissions = { "DATABASE \"akkoma\"" = "ALL PRIVILEGES"; };
ensureDBOwnership = true;
}];

settings = {
Expand Down
2 changes: 1 addition & 1 deletion nix/nixos-modules/roles/nextcloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in {
ensureDatabases = [ "nextcloud" ];
ensureUsers = [{
name = "nextcloud";
ensurePermissions = { "DATABASE \"nextcloud\"" = "ALL PRIVILEGES"; };
ensureDBOwnership = true;
}];
};
}

0 comments on commit 08f298e

Please sign in to comment.