Merge pull request #292171 from abysssol/fix-ollama-service
nixos/ollama: replace incorrect use of overrideAttrs
This commit is contained in:
commit
eb3cc6f463
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ let
|
|||
cfg = config.services.ollama;
|
||||
ollamaPackage = cfg.package.override {
|
||||
inherit (cfg) acceleration;
|
||||
linuxPackages = config.boot.kernelPackages.overrideAttrs {
|
||||
linuxPackages = config.boot.kernelPackages // {
|
||||
nvidia_x11 = config.hardware.nvidia.package;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue