Add required option to all mautrix bridges
This commit is contained in:
parent
ad6409f5a8
commit
0864532f54
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue