Env vars need string values

This commit is contained in:
niten 2024-05-24 16:04:42 -07:00
parent e64fa22de6
commit d57f586fc9
1 changed files with 2 additions and 2 deletions

View File

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