module: update postgres config (ensurePermissions -> ensureDBOwnership)
see https://github.com/NixOS/nixpkgs/pull/266270
This commit is contained in:
parent
aeba8124d2
commit
332d717766
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ in
|
||||||
package = pkgs.postgresql_14;
|
package = pkgs.postgresql_14;
|
||||||
ensureDatabases = mkIf cfg.createDatabase [ "authentik" ];
|
ensureDatabases = mkIf cfg.createDatabase [ "authentik" ];
|
||||||
ensureUsers = mkIf cfg.createDatabase [
|
ensureUsers = mkIf cfg.createDatabase [
|
||||||
{ name = "authentik"; ensurePermissions."DATABASE authentik" = "ALL PRIVILEGES"; }
|
{ name = "authentik"; ensureDBOwnership = true; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue