lavaridge: fix bug in kernel module config + make amdgpu available in initrd

This commit is contained in:
Aly Raffauf 2024-06-16 01:11:34 -04:00
parent 1865ef23d2
commit 29968b0f73

View file

@ -17,11 +17,11 @@
boot = { boot = {
initrd = { initrd = {
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"]; availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
kernelModules = []; kernelModules = ["amdgpu"];
}; };
extraModulePackages = []; extraModulePackages = [];
kernelModules = ["kvm-amd" "amd-gpu"]; kernelModules = ["kvm-amd" "amdgpu"];
kernelParams = ["amdgpu.abmlevel=0"]; kernelParams = ["amdgpu.abmlevel=0"];
}; };