services: matrix bridge config
This commit is contained in:
parent
194a22b8c6
commit
19cc70dadf
@ -100,7 +100,8 @@ in {
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "mautrix-whatsapp";
|
User = "mautrix-whatsapp";
|
||||||
Group = "mautrix-whatsapp";
|
Group = "mautrix-whatsapp";
|
||||||
WorkingDirectory = "~";
|
Environment = "HOME=/var/lib/mautrix-whatsapp";
|
||||||
|
PrivateTmp = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mautrix-signal = {
|
mautrix-signal = {
|
||||||
@ -112,10 +113,15 @@ in {
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "mautrix-signal";
|
User = "mautrix-signal";
|
||||||
Group = "mautrix-signal";
|
Group = "mautrix-signal";
|
||||||
WorkingDirectory = "~";
|
Environment = "HOME=/var/lib/mautrix-whatsapp";
|
||||||
|
PrivateTmp = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /var/log/mautrix-whatsapp - mautrix-whatsapp mautrix-whatsapp"
|
||||||
|
"d /var/log/mautrix-signal - mautrix-signal mautrix-signal"
|
||||||
|
];
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user