From a28456fc646b55e5e2611d2d3ab1e1de02fc5cf9 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 20 Jul 2022 19:18:10 +0200 Subject: [PATCH] Fix Matrix bridges configuration --- modules/communication.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/communication.nix b/modules/communication.nix index 8cba451..654e7e5 100644 --- a/modules/communication.nix +++ b/modules/communication.nix @@ -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 = {