mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/immich: override machine-learning with cfg.package
Otherwise they could use different versions: nix-repl> (immich.overrideAttrs { version = "0"; }).machine-learning.version "1.115.0"
This commit is contained in:
parent
2b4480d161
commit
7cdda564e0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue