services: matrix fix some bridge configs
This commit is contained in:
parent
19d862c9e6
commit
076c70bb2b
@ -100,17 +100,19 @@ in {
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "mautrix-whatsapp";
|
User = "mautrix-whatsapp";
|
||||||
Group = "mautrix-whatsapp";
|
Group = "mautrix-whatsapp";
|
||||||
|
WorkingDirectory = ~;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mautrix-signal = {
|
mautrix-signal = {
|
||||||
description = "Matrix <-> Signal bridge";
|
description = "Matrix <-> Signal bridge";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
|
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}";
|
script = "${pkgs.mautrix-signal}/bin/mautrix-signal --config ${config.age.secrets."services/matrix/mautrix-signal.yml".path}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "mautrix-signal";
|
User = "mautrix-signal";
|
||||||
Group = "mautrix-signal";
|
Group = "mautrix-signal";
|
||||||
|
WorkingDirectory = ~;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user