check kernel modules one by one for now

This commit is contained in:
2021-05-23 22:10:37 +05:30
parent 5364156d58
commit a22f0e6bc7
3 changed files with 37 additions and 3 deletions

View File

@@ -1,7 +1,42 @@
{config, ...}:
{
boot = {
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas"];
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas"
"ahci"
"ata_piix"
"sata_inic162x" "sata_nv" "sata_promise" "sata_qstor"
"sata_sil" "sata_sil24" "sata_sis" "sata_svw" "sata_sx4"
"sata_uli" "sata_via" "sata_vsc"
"vc4"
"pcie-brcmstb"
# Rockchip
"dw-hdmi"
"dw-mipi-dsi"
"rockchipdrm"
"rockchip-rga"
"phy-rockchip-pcie"
"pcie-rockchip-host"
# Misc. uncategorized hardware
# Used for some platform's integrated displays
"panel-simple"
"pwm-bl"
# Power supply drivers, some platforms need them for USB
"axp20x-ac-power"
"axp20x-battery"
"pinctrl-axp209"
"mp8859"
# USB drivers
"xhci-pci-renesas"
];
initrd.kernelModules = [ ];
kernelModules = [ ];
extraModulePackages = [ ];