diff --git a/hwModules/lenovo/legion/go/default.nix b/hwModules/lenovo/legion/go/default.nix index 54d5378a..a4e2e2b2 100644 --- a/hwModules/lenovo/legion/go/default.nix +++ b/hwModules/lenovo/legion/go/default.nix @@ -1,6 +1,7 @@ { - pkgs, + config, lib, + pkgs, self, ... }: { @@ -13,7 +14,7 @@ boot = { initrd.availableKernelModules = ["nvme" "sdhci_pci" "thunderbolt" "usb_storage" "usbhid" "xhci_pci"]; - + extraModulePackages = with config.boot.kernelPackages; [lenovo-legion-module]; kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; };