Fix matrix vm not booting due to mount options

This commit is contained in:
fi 2023-12-05 04:16:44 +01:00
parent 2fd35881d3
commit 150fe9f106
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA

View file

@ -10,12 +10,12 @@
depends = [ "/mnt/data" ]; depends = [ "/mnt/data" ];
device = "/mnt/data/media_store"; device = "/mnt/data/media_store";
fsType = "none"; fsType = "none";
options = [ "bind" "X-mount.owner=matrix-synapse" "X-mount.group=matrix-synapse" ]; options = [ "bind" ];
}; };
fileSystems."/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}" = { fileSystems."/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}" = {
depends = [ "/mnt/data" ]; depends = [ "/mnt/data" ];
device = "/mnt/data/database"; device = "/mnt/data/database";
fsType = "none"; fsType = "none";
options = [ "bind" "X-mount.owner=postgres" "X-mount.group=postgres" ]; options = [ "bind" ];
}; };
} }