From 134be027e28b830a56de7c52c54662767656ab7c Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 27 Jul 2023 01:15:06 +0200 Subject: [PATCH] Fix import of matrix appservice registration files --- modules/communication.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/communication.nix b/modules/communication.nix index bc3bbea..9da5277 100644 --- a/modules/communication.nix +++ b/modules/communication.nix @@ -26,7 +26,14 @@ in { dns_cache.enabled = true; }; # 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; }; @@ -56,7 +63,6 @@ in { homeserver = "dendrite"; homeserverDomain = "coolneng.duckdns.org"; homeserverURL = "https://matrix.coolneng.duckdns.org"; - addRegistrationFiles = true; services = { telegram = { port = 8118;