mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00: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
@ -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…
Reference in New Issue
Block a user