This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

2configs.services.matrix.bridges.mautrix-discord: grant synapse mautrix-discord group

Upstream creates /var/lib/mautrix-discord at mode 0770 owned by
mautrix-discord:mautrix-discord, but only adds matrix-synapse to the
mautrix-discord-registration supplementary group. That left synapse
unable to traverse the directory to read discord-registration.yaml,
crashing matrix-synapse on startup.

+7
+7
2configs/services/matrix/bridges/mautrix-discord.nix
··· 1 1 { ... }: 2 2 { 3 + # The upstream module creates /var/lib/mautrix-discord with mode 0770 owned 4 + # by mautrix-discord:mautrix-discord, while matrix-synapse only gets the 5 + # `mautrix-discord-registration` supplementary group. That blocks 6 + # matrix-synapse from traversing the directory to read the registration 7 + # file. Granting it the `mautrix-discord` group as well lets it `chdir` in. 8 + systemd.services.matrix-synapse.serviceConfig.SupplementaryGroups = [ "mautrix-discord" ]; 9 + 3 10 services.mautrix-discord = { 4 11 enable = true; 5 12 registerToSynapse = true;