summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/gotosocial.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/web-apps/gotosocial.nix')
-rw-r--r--nixos/modules/services/web-apps/gotosocial.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/services/web-apps/gotosocial.nix b/nixos/modules/services/web-apps/gotosocial.nix
index f7ae018d5b7..9c21719a575 100644
--- a/nixos/modules/services/web-apps/gotosocial.nix
+++ b/nixos/modules/services/web-apps/gotosocial.nix
@@ -128,9 +128,7 @@ in
       ensureUsers = [
         {
           name = "gotosocial";
-          ensurePermissions = {
-            "DATABASE gotosocial" = "ALL PRIVILEGES";
-          };
+          ensureDBOwnership = true;
         }
       ];
     };