mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 23:23:55 -05:00
legion go: use zenpower
This commit is contained in:
parent
c19868c537
commit
859402e1f5
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue