Configure the Telegram bridge properly

This commit is contained in:
coolneng 2022-07-22 17:14:00 +02:00
parent 3625a7a078
commit 037e1ce951
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 9 additions and 3 deletions

View File

@ -56,10 +56,16 @@ in {
format = "mautrix-python"; format = "mautrix-python";
package = mautrix-telegram; package = mautrix-telegram;
serviceConfig.EnvironmentFile = config.age.secrets.telegram.path; serviceConfig.EnvironmentFile = config.age.secrets.telegram.path;
settings.telegram = { settings = {
telegram = {
api_id = "$API_ID"; api_id = "$API_ID";
api_hash = "$API_HASH"; api_hash = "$API_HASH";
}; };
bridge = {
permissions."@coolneng:coolneng.duckdns.org" = "admin";
backfill.normal_groups = true;
};
};
}; };
facebook = { facebook = {
port = 8228; port = 8228;