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; package = mautrix-telegram;
serviceConfig.EnvironmentFile = config.age.secrets.telegram.path; serviceConfig.EnvironmentFile = config.age.secrets.telegram.path;
settings = { settings = {
homeserver.software = "standard";
telegram = { telegram = {
api_id = "$API_ID"; api_id = "$API_ID";
api_hash = "$API_HASH"; api_hash = "$API_HASH";
@ -89,13 +90,16 @@ in {
JoinNamespaceOf = "signald.service"; JoinNamespaceOf = "signald.service";
SupplementaryGroups = [ "signald" ]; SupplementaryGroups = [ "signald" ];
}; };
settings.signal = { settings = {
homeserver.software = "standard";
signal = {
socket_path = config.services.signald.socketPath; socket_path = config.services.signald.socketPath;
outgoing_attachment_dir = "/var/lib/signald/tmp"; outgoing_attachment_dir = "/var/lib/signald/tmp";
}; };
}; };
}; };
}; };
};
# Additional settings for mautrix-signal # Additional settings for mautrix-signal
services.signald = { services.signald = {