mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #292171 from abysssol/fix-ollama-service
nixos/ollama: replace incorrect use of overrideAttrs
This commit is contained in:
commit
eb3cc6f463
@ -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 New Issue
Block a user