diff --git a/modules/communication.nix b/modules/communication.nix index 2af6c6d..e4cb5ab 100644 --- a/modules/communication.nix +++ b/modules/communication.nix @@ -4,18 +4,21 @@ # Matrix server configuration services.matrix-synapse = { enable = true; - server_name = "coolneng.duckdns.org"; - public_baseurl = "https://matrix.coolneng.duckdns.org"; - listeners = [{ - port = 8008; - tls = false; - resources = [{ - compress = true; - names = [ "client" ]; + settings = { + server_name = "coolneng.duckdns.org"; + public_baseurl = "https://matrix.coolneng.duckdns.org"; + listeners = [{ + port = 8008; + tls = false; + resources = [{ + compress = true; + names = [ "client" ]; + }]; + bind_addresses = [ "127.0.0.1" ]; }]; - }]; - app_service_config_files = - [ "/var/lib/matrix-synapse/telegram-registration.yaml" ]; + app_service_config_files = + [ "/var/lib/matrix-synapse/telegram-registration.yaml" ]; + }; }; # Telegram bridge for Matrix