From c9ec0d47ac549ac0f90ff8795eba80c2e5ae17d6 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sun, 24 Dec 2023 12:58:37 +0100 Subject: [PATCH] Use ensureDBOwnership instead of ensurePermissions --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index d78e7a1..5a75cc9 100644 --- a/default.nix +++ b/default.nix @@ -135,7 +135,7 @@ in services.postgresql = { ensureUsers = [{ name = "accentor"; - ensurePermissions = { "DATABASE accentor" = "ALL PRIVILEGES"; }; + ensureDBOwnership = true; }]; ensureDatabases = [ "accentor" ]; };