update rclone mount args & path

This commit is contained in:
chaos 2024-12-16 14:27:55 +00:00
parent 66c6078ddd
commit 5b675966a3

View file

@ -11,13 +11,12 @@
--allow-other \
--uid=${toString config.users.users.photoprism.uid} \
--gid=${toString config.users.groups.photoprism.gid} \
--fast-list \
--umask=666 \
--cache-dir=/PhotosCache \
--dir-cache-time=1m \
--dir-cache-time=10m \
--vfs-cache-mode=full \
--vfs-cache-max-size=5g \
--vfs-cache-max-age=120m \
--vfs-cache-max-size=2g \
--vfs-cache-max-age=10m \
--log-level=INFO "$@"
'';
@ -30,6 +29,7 @@ in {
fuse
fuse3
mountPhotos
util-linux
];
systemd.tmpfiles.rules = [
@ -74,6 +74,7 @@ in {
path = with pkgs; [
fuse
fuse3
util-linux
];
serviceConfig.ExecStart = "${mountPhotos}/bin/mount-photos --syslog";
};