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