about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/immich.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/web-apps/immich.nix')
-rw-r--r--nixos/modules/services/web-apps/immich.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/immich.nix b/nixos/modules/services/web-apps/immich.nix
index 1e46f3b855df..ca6b6dd62413 100644
--- a/nixos/modules/services/web-apps/immich.nix
+++ b/nixos/modules/services/web-apps/immich.nix
@@ -290,7 +290,7 @@ in
       wantedBy = [ "multi-user.target" ];
       inherit (cfg.machine-learning) environment;
       serviceConfig = commonServiceConfig // {
-        ExecStart = lib.getExe cfg.package.machine-learning;
+        ExecStart = lib.getExe (cfg.package.machine-learning.override { immich = cfg.package; });
         CacheDirectory = "immich";
         User = cfg.user;
         Group = cfg.group;