From 214cc98f8152563b5db01a83ca85f08c57c9d270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20I=C8=99an?= Date: Mon, 25 May 2026 22:20:28 +0200 Subject: [PATCH] immich: use gpu --- modules/containers/immich.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/containers/immich.nix b/modules/containers/immich.nix index 2175217..9fc9c41 100644 --- a/modules/containers/immich.nix +++ b/modules/containers/immich.nix @@ -54,11 +54,15 @@ in immich-machine-learning = { autoStart = true; - image = "ghcr.io/immich-app/immich-machine-learning:v2"; + image = "ghcr.io/immich-app/immich-machine-learning:v2-cuda"; volumes = [ "${workDir}/cache:/cache" ]; + + extraOptions = [ + "--device=nvidia.com/gpu=all" + ]; }; immich-redis = {