Adapt matrix-synapse to upstream changes

This commit is contained in:
coolneng 2022-03-21 16:24:28 +01:00
parent 3b2b6699da
commit 770d428bdf
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 14 additions and 11 deletions

View File

@ -4,6 +4,7 @@
# Matrix server configuration # Matrix server configuration
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
settings = {
server_name = "coolneng.duckdns.org"; server_name = "coolneng.duckdns.org";
public_baseurl = "https://matrix.coolneng.duckdns.org"; public_baseurl = "https://matrix.coolneng.duckdns.org";
listeners = [{ listeners = [{
@ -13,10 +14,12 @@
compress = true; compress = true;
names = [ "client" ]; names = [ "client" ];
}]; }];
bind_addresses = [ "127.0.0.1" ];
}]; }];
app_service_config_files = app_service_config_files =
[ "/var/lib/matrix-synapse/telegram-registration.yaml" ]; [ "/var/lib/matrix-synapse/telegram-registration.yaml" ];
}; };
};
# Telegram bridge for Matrix # Telegram bridge for Matrix
services.mautrix-telegram = { services.mautrix-telegram = {