From dbf8c5000963e2bce357b846b488bed89ce0f0d2 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Tue, 16 Sep 2025 11:35:06 +0200 Subject: [PATCH] Fix: Immich Machine Learning: fix IO error --- nixos/immich.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/immich.nix b/nixos/immich.nix index 130852d..2a4f308 100644 --- a/nixos/immich.nix +++ b/nixos/immich.nix @@ -6,8 +6,10 @@ redis.enable = true; openFirewall = true; host = "::"; + machine-learning.environment = { + HF_XET_CACHE = "/var/cache/immich/huggingface-xet"; + }; }; - # immich-public-proxy = { enable = true; openFirewall = true; immichUrl = "http://localhost:2283"; }; }; users.users.immich.extraGroups = [ "video" "render" ]; }