Configure the Telegram bridge properly
This commit is contained in:
parent
3625a7a078
commit
037e1ce951
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue