ajout bot mautrix-telegram

This commit is contained in:
nyanloutre 2019-10-04 22:32:59 +02:00
parent 4ee31add54
commit f621cb3a21
1 changed files with 24 additions and 0 deletions

View File

@ -307,6 +307,30 @@ in
disable_existing_loggers: False disable_existing_loggers: False
''; '';
app_service_config_files = [
"/var/lib/matrix-synapse/mautrix-telegram-registration.yaml"
];
};
mautrix-telegram = {
enable = true;
settings = {
homeserver = {
address = "https://matrix.nyanlout.re";
domain = "nyanlout.re";
};
appservice = {
bot_username = "loutrebot";
};
bridge = {
relaybot.authless_portals = false;
permissions = {
"@nyanloutre:nyanlout.re" = "admin";
};
};
};
environmentFile = "/mnt/secrets/mautrix-telegram.env";
serviceDependencies = [ "matrix-synapse.service" ];
}; };
pgmanage = { pgmanage = {