module: update postgres config (ensurePermissions -> ensureDBOwnership)

see https://github.com/NixOS/nixpkgs/pull/266270
This commit is contained in:
WilliButz 2023-12-10 13:54:13 +01:00
parent aeba8124d2
commit 332d717766
No known key found for this signature in database
GPG key ID: FB0513677AB15BEA

View file

@ -133,7 +133,7 @@ in
package = pkgs.postgresql_14;
ensureDatabases = mkIf cfg.createDatabase [ "authentik" ];
ensureUsers = mkIf cfg.createDatabase [
{ name = "authentik"; ensurePermissions."DATABASE authentik" = "ALL PRIVILEGES"; }
{ name = "authentik"; ensureDBOwnership = true; }
];
};
};