From fbd1bd3079b5f97b5041c6e33475b4b4fa9a96cd Mon Sep 17 00:00:00 2001 From: 514fpv Date: Thu, 7 Mar 2024 08:53:58 +0800 Subject: [PATCH] fix(eientei): photoprism remove limits --- spec/eientei/photoprism.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spec/eientei/photoprism.nix b/spec/eientei/photoprism.nix index cd775081..55ccb7fe 100644 --- a/spec/eientei/photoprism.nix +++ b/spec/eientei/photoprism.nix @@ -2,8 +2,12 @@ services.photoprism = { enable = true; originalsPath = "/run/storage/aerial"; - settings.PHOTOPRISM_ADMIN_USER = "koishi"; - settings.PHOTOPRISM_FFMPEG_ENCODER = "intel"; + settings = { + PHOTOPRISM_ADMIN_USER = "koishi"; + PHOTOPRISM_FFMPEG_ENCODER = "intel"; + PHOTOPRISM_ORIGINALS_LIMIT = "-1"; + PHOTOPRISM_RESOLUTION_LIMIT = "-1"; + }; passwordFile = "/var/lib/photoprism/password"; };