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"; };