mautrix-telegram: enable again and small fix

This commit is contained in:
quitte 2023-10-09 21:19:05 +02:00
parent e5b9d8b944
commit 8c7ffab70e
2 changed files with 3 additions and 2 deletions

View file

@ -48,7 +48,7 @@
./modules/stream.nix ./modules/stream.nix
./modules/nextcloud.nix ./modules/nextcloud.nix
./modules/matrix.nix ./modules/matrix.nix
# ./modules/mautrix-telegram.nix ./modules/mautrix-telegram.nix
./modules/sogo.nix ./modules/sogo.nix
./modules/vaultwarden.nix ./modules/vaultwarden.nix
./modules/website.nix ./modules/website.nix

View file

@ -46,12 +46,13 @@ in
# Use postgresql instead of sqlite # Use postgresql instead of sqlite
database = "postgresql:///mautrix-telegram?host=/run/postgresql"; database = "postgresql:///mautrix-telegram?host=/run/postgresql";
port = 8082; port = 8082;
address = "localhost:${toString port}"; address = "http://localhost:${toString port}";
}; };
bridge = { bridge = {
relaybot.authless_portals = false; relaybot.authless_portals = false;
permissions = { permissions = {
# Add yourself here temporarily
"@admin:${homeserverDomain}" = "admin"; "@admin:${homeserverDomain}" = "admin";
}; };
relay_user_distinguishers = [ ]; relay_user_distinguishers = [ ];