From d57f586fc918255dbaa0e12d36039b7fbde9ecfb Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 24 May 2024 16:04:42 -0700 Subject: [PATCH] Env vars need string values --- immich-ml-container.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index bc067e0..bf8dc22 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -62,8 +62,8 @@ in { extraOptions = [ "--gpus=all" ]; environment = { IMMICH_METRICS = "true"; - MACHINE_LEARNING_WORKERS = cfg.workers; - MACHINE_LEARNING_REQUEST_THREADS = cfg.threads; + MACHINE_LEARNING_WORKERS = toString cfg.workers; + MACHINE_LEARNING_REQUEST_THREADS = toString cfg.threads; }; }; };