Fix Matrix bridges configuration

This commit is contained in:
coolneng 2022-07-20 19:18:10 +02:00
parent af18ffd29e
commit a28456fc64
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 10 additions and 1 deletions

View File

@ -19,7 +19,14 @@ in {
inherit database;
};
# HACK Inherit postgres connection string for the rest of the DBs
app_service_api = { inherit database; };
app_service_api = {
inherit database;
config_files = [
"/var/lib/matrix-as-facebook/facebook-registration.yaml"
"/var/lib/matrix-as-signal/signal-registration.yaml"
"/var/lib/matrix-as-telegram/telegram-registration.yaml"
];
};
media_api = { inherit database; };
room_server = { inherit database; };
push_server = { inherit database; };
@ -40,6 +47,8 @@ in {
# Matrix bridges
services.matrix-appservices = {
homeserver = "dendrite";
homeserverDomain = "coolneng.duckdns.org";
homeserverURL = "https://matrix.coolneng.duckdns.org";
addRegistrationFiles = true;
services = {
telegram = {