From 037e1ce951597cc6330e7ffb3598da6b8c6a698a Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 22 Jul 2022 17:14:00 +0200 Subject: [PATCH] Configure the Telegram bridge properly --- modules/communication.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/communication.nix b/modules/communication.nix index 1129962..c3e74a2 100644 --- a/modules/communication.nix +++ b/modules/communication.nix @@ -56,9 +56,15 @@ in { format = "mautrix-python"; package = mautrix-telegram; serviceConfig.EnvironmentFile = config.age.secrets.telegram.path; - settings.telegram = { - api_id = "$API_ID"; - api_hash = "$API_HASH"; + settings = { + telegram = { + api_id = "$API_ID"; + api_hash = "$API_HASH"; + }; + bridge = { + permissions."@coolneng:coolneng.duckdns.org" = "admin"; + backfill.normal_groups = true; + }; }; }; facebook = {