weilite: use one virtiofs mount

This commit is contained in:
xinyangli 2025-01-31 15:11:57 +08:00
parent 068a7fe4e7
commit 68228aca1f
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE

View file

@ -91,13 +91,6 @@
}; };
systemd.mounts = [ systemd.mounts = [
{
what = "immich";
where = "/mnt/XinPhotos/immich";
type = "virtiofs";
options = "rw,nodev,nosuid";
wantedBy = [ "immich-server.service" ];
}
{ {
what = "originals"; what = "originals";
where = "/mnt/XinPhotos/originals"; where = "/mnt/XinPhotos/originals";
@ -111,7 +104,6 @@
type = "virtiofs"; type = "virtiofs";
options = "rw,nodev,nosuid"; options = "rw,nodev,nosuid";
} }
{ {
what = "/mnt/nixos/ocis"; what = "/mnt/nixos/ocis";
where = "/var/lib/ocis"; where = "/var/lib/ocis";