From 115ba43fdad64c12ef260f430cea556638d0ea4b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 13 Oct 2024 15:51:19 -0400 Subject: [PATCH] pacifidlog: add legion module --- hwModules/lenovo/legion/go/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; };