legion go: use zenpower

This commit is contained in:
Aly Raffauf 2024-10-14 16:08:07 -04:00
parent c19868c537
commit 859402e1f5

View file

@ -14,11 +14,23 @@
boot = { boot = {
initrd = { initrd = {
availableKernelModules = ["nvme" "sdhci_pci" "thunderbolt" "usb_storage" "usbhid" "xhci_pci"]; availableKernelModules = [
kernelModules = ["amdgpu"]; "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; kernelPackages = lib.mkDefault pkgs.linuxPackages_xanmod_latest;
}; };