blob: 3af65304453812ba7059159d8aee79d82fa33c0e (
plain) (
tree)
|
|
{...}: {
environment.persistence."/srv".directories = [
{
directory = "/var/lib/matrix";
user = "matrix-synapse";
group = "matrix-synapse";
mode = "0700";
}
{
directory = "/var/lib/mautrix-whatsapp";
user = "mautrix-whatsapp";
group = "matrix-synapse";
mode = "0750";
}
];
systemd.tmpfiles.rules = [
"d /etc/matrix 0755 matrix-synapse matrix-synapse"
];
}
|