From 859402e1f52abff720675eeb723dcf8bdae14793 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 14 Oct 2024 16:08:07 -0400 Subject: [PATCH] legion go: use zenpower --- hwModules/lenovo/legion/go/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/hwModules/lenovo/legion/go/default.nix b/hwModules/lenovo/legion/go/default.nix index 72360299..846cb5a9 100644 --- a/hwModules/lenovo/legion/go/default.nix +++ b/hwModules/lenovo/legion/go/default.nix @@ -14,11 +14,23 @@ boot = { initrd = { - availableKernelModules = ["nvme" "sdhci_pci" "thunderbolt" "usb_storage" "usbhid" "xhci_pci"]; - kernelModules = ["amdgpu"]; + availableKernelModules = [ + "amdgpu" + "nvme" + "rtsx_pci_sdmmc" + "sd_mod" + "sdhci_pci" + "thunderbolt" + "usb_storage" + "usbhid" + "xhci_pci" + ]; + + blacklistedKernelModules = ["k10temp"]; + kernelModules = ["amdgpu" "zenpower"]; }; - extraModulePackages = with config.boot.kernelPackages; [acpi_call]; + extraModulePackages = with config.boot.kernelPackages; [acpi_call zenpower]; kernelPackages = lib.mkDefault pkgs.linuxPackages_xanmod_latest; };