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











                                                      
{...}: {
  environment.persistence."/srv".directories = [
    {
      directory = "/var/lib/matrix";
      user = "matrix-synapse";
      group = "matrix-synapse";
      mode = "0700";
    }
  ];
  systemd.tmpfiles.rules = [
    "d /etc/matrix 0755 matrix-synapse matrix-synapse"
  ];
}