From 2b9043298eaabb342c133ceb4bfb1219e90d46e8 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/communication.nix b/modules/communication.nix index 1129962..a8607c3 100644 --- a/modules/communication.nix +++ b/modules/communication.nix @@ -56,9 +56,13 @@ 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 = {