toString port, every damn time

This commit is contained in:
niten 2024-05-22 18:23:47 -07:00
parent c05276bddd
commit 610c0751bd
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ in {
image =
"ghcr.io/immich-app/immich-machine-learning:${cfg.immich-version}-cuda";
volumes = [ "${cfg.state-directory}:/cache" ];
ports = [ "${cfg.port}:3003" ];
ports = [ "${toString cfg.port}:3003" ];
extraOptions = [ "--gpus=all" ];
};
};