Add required option to all mautrix bridges

This commit is contained in:
coolneng 2022-11-14 00:58:06 +01:00
parent ad6409f5a8
commit 0864532f54
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 7 additions and 3 deletions

View File

@ -64,6 +64,7 @@ in {
package = mautrix-telegram;
serviceConfig.EnvironmentFile = config.age.secrets.telegram.path;
settings = {
homeserver.software = "standard";
telegram = {
api_id = "$API_ID";
api_hash = "$API_HASH";
@ -89,9 +90,12 @@ in {
JoinNamespaceOf = "signald.service";
SupplementaryGroups = [ "signald" ];
};
settings.signal = {
socket_path = config.services.signald.socketPath;
outgoing_attachment_dir = "/var/lib/signald/tmp";
settings = {
homeserver.software = "standard";
signal = {
socket_path = config.services.signald.socketPath;
outgoing_attachment_dir = "/var/lib/signald/tmp";
};
};
};
};