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" ]; };