From 5b675966a3ca738a092764a8ae0c53debf033436 Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 16 Dec 2024 14:27:55 +0000 Subject: [PATCH] update rclone mount args & path --- hosts/hetzner-arm/profiles/photoprism.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/hetzner-arm/profiles/photoprism.nix b/hosts/hetzner-arm/profiles/photoprism.nix index f2cda5f..9124c8f 100644 --- a/hosts/hetzner-arm/profiles/photoprism.nix +++ b/hosts/hetzner-arm/profiles/photoprism.nix @@ -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"; };