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 = {