services: matrix fix some bridge configs

This commit is contained in:
Kabbone 2022-12-30 10:27:43 +01:00
parent 19d862c9e6
commit 076c70bb2b
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
3 changed files with 3 additions and 1 deletions

View File

@ -100,17 +100,19 @@ in {
serviceConfig = {
User = "mautrix-whatsapp";
Group = "mautrix-whatsapp";
WorkingDirectory = ~;
};
};
mautrix-signal = {
description = "Matrix <-> Signal bridge";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
requires = [ "postgresql.service" "matrix-synapse.service" "signald"];
requires = [ "postgresql.service" "matrix-synapse.service" "signald.service"];
script = "${pkgs.mautrix-signal}/bin/mautrix-signal --config ${config.age.secrets."services/matrix/mautrix-signal.yml".path}";
serviceConfig = {
User = "mautrix-signal";
Group = "mautrix-signal";
WorkingDirectory = ~;
};
};
};