Matrix-Synapse
Synapse is a Matrix homeserver. Matrix is an open network for secure, decentralised communication.
View the nix-core NixOS module on GitHub.
References
Register users
Sops
Provide the following entries to your secrets.yaml:
Replace
abc123
with your actual secret(s)
DNS
Make sure you have a CNAME record for turn
pointing to your domain.
Bridges
Warning: Bridges use
mautrix-go
which relies on deprecatedlibolm
.
NixOS configuration
The config.yaml
for each bridge is managed through services.mautrix-BRIDGE.settings
:
- services.mautrix-signal.settings: example configuration file
- services.mautrix-whatsapp.settings: example configuration file
Authentication
- Open chat with bridge bot:
@BOT:DOMAIN.TLD
- WhatsApp:
whatsappbot
- Signal:
signalbot
- WhatsApp:
- Send:
login qr
- Scan QR code
- Switch puppets:
login-matrix ACCESS_TOKEN
- Get your token with: Settings > Help & About > Advanced > Access Token
Troubleshooting
Specified admin user is not an admin in portal rooms
There seems to be a bug that the user specified under services.matrix-synapse.bridges.whatsapp.admin
does not have admin permissions in portal rooms. You can set the power level manually inside each portal room: