1
0
Fork 0

Systems: load initrd kernel modules

This commit is contained in:
Aires 2024-12-14 18:00:26 -05:00
parent f2f6bd0ff9
commit d9635231bf
3 changed files with 21 additions and 23 deletions

View file

@ -10,7 +10,7 @@ in
boot = {
kernelModules = [ "kvm-amd" ];
initrd.availableKernelModules = [
initrd.kernelModules = [
"kvm-amd"
"nvme"
"xhci_pci"

View file

@ -31,27 +31,25 @@ in
options iwlwifi 11n_disable=8
'';
initrd = {
availableKernelModules = [
"kvm-intel"
"surface_aggregator"
"surface_aggregator_registry"
"surface_aggregator_hub"
"surface_hid_core"
"surface_hid"
"hid_multitouch"
"8250_dw"
"intel_lpss"
"intel_lpss_pci"
"xhci_pci"
"thunderbolt"
"nvme"
"usb_storage"
"sd_mod"
"surface_kbd"
"pinctrl_tigerlake"
];
};
initrd.kernelModules = [
"kvm-intel"
"surface_aggregator"
"surface_aggregator_registry"
"surface_aggregator_hub"
"surface_hid_core"
"surface_hid"
"hid_multitouch"
"8250_dw"
"intel_lpss"
"intel_lpss_pci"
"xhci_pci"
"thunderbolt"
"nvme"
"usb_storage"
"sd_mod"
"surface_kbd"
"pinctrl_tigerlake"
];
kernelParams = [
"pci=hpiosize=0" # Prevent ACPI interrupt storm. See https://github.com/linux-surface/linux-surface/wiki/Surface-Pro-9#acpi-interrupt-storm

View file

@ -18,7 +18,7 @@ in
kernelModules = [ "kvm-amd" ];
# Hardware defaults detected by nixos-generate-configuration
initrd.availableKernelModules = [
initrd.kernelModules = [
"kvm-amd"
"nvme"
"xhci_pci"