summary refs log blame commit diff stats
path: root/system/impermanence/mods/matrix.nix
blob: 3af65304453812ba7059159d8aee79d82fa33c0e (plain) (tree)
1
2
3
4
5
6
7
8






                                                




                                              



                                                      
{...}: {
  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"
  ];
}