From 332d717766a9f96bbbfc1b5b952ad1752c126bc7 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Sun, 10 Dec 2023 13:54:13 +0100 Subject: [PATCH] module: update postgres config (ensurePermissions -> ensureDBOwnership) see https://github.com/NixOS/nixpkgs/pull/266270 --- module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.nix b/module.nix index b51ad35..c7efe47 100644 --- a/module.nix +++ b/module.nix @@ -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; } ]; }; };