diff --git a/profiles/matrix.nix b/profiles/matrix.nix index 16727af..4ddb145 100644 --- a/profiles/matrix.nix +++ b/profiles/matrix.nix @@ -129,11 +129,7 @@ ensureUsers = [ { name = "matrix-synapse"; # Ensure the database user persists - ensurePermissions = { - # Ensure the database permissions persist - "DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES"; - "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; # Initial database creation