about summary refs log tree commit diff
path: root/modules/services/matrix-bridge.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/matrix-bridge.nix')
-rw-r--r--modules/services/matrix-bridge.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/services/matrix-bridge.nix b/modules/services/matrix-bridge.nix
index bacd26d..3422a76 100644
--- a/modules/services/matrix-bridge.nix
+++ b/modules/services/matrix-bridge.nix
@@ -192,15 +192,15 @@ in
     services.postgresql.ensureUsers = [
       {
         name = "mautrix-telegram";
-        ensurePermissions."DATABASE \"mautrix-telegram\"" = "ALL PRIVILEGES";
+        ensureDBOwnership = true;
       }
       {
         name = "mautrix-signal";
-        ensurePermissions."DATABASE \"mautrix-signal\"" = "ALL PRIVILEGES";
+        ensureDBOwnership = true;
       }
       {
         name = "mautrix-whatsapp";
-        ensurePermissions."DATABASE \"mautrix-whatsapp\"" = "ALL PRIVILEGES";
+        ensureDBOwnership = true;
       }
     ];