diff --git a/roles/matrix.nix b/roles/matrix.nix index 12ffd36..9b38845 100644 --- a/roles/matrix.nix +++ b/roles/matrix.nix @@ -42,6 +42,9 @@ "turn:turn.mcwhirter.io:5350?transport=tcp" ]; url_preview_enabled = true; + extraConfig = '' + enable_group_creation: true # Allow users to create communities + ''; }; nginx = { @@ -106,7 +109,8 @@ { name = "matrix-synapse"; # Ensure the database user persists ensurePermissions = { # Ensure the database permissions persist - "DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES"; + #"DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES"; + #"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES"; }; } ];