Systems: load initrd kernel modules
This commit is contained in:
parent
f2f6bd0ff9
commit
d9635231bf
|
@ -10,7 +10,7 @@ in
|
||||||
boot = {
|
boot = {
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
|
|
||||||
initrd.availableKernelModules = [
|
initrd.kernelModules = [
|
||||||
"kvm-amd"
|
"kvm-amd"
|
||||||
"nvme"
|
"nvme"
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
|
|
|
@ -31,27 +31,25 @@ in
|
||||||
options iwlwifi 11n_disable=8
|
options iwlwifi 11n_disable=8
|
||||||
'';
|
'';
|
||||||
|
|
||||||
initrd = {
|
initrd.kernelModules = [
|
||||||
availableKernelModules = [
|
"kvm-intel"
|
||||||
"kvm-intel"
|
"surface_aggregator"
|
||||||
"surface_aggregator"
|
"surface_aggregator_registry"
|
||||||
"surface_aggregator_registry"
|
"surface_aggregator_hub"
|
||||||
"surface_aggregator_hub"
|
"surface_hid_core"
|
||||||
"surface_hid_core"
|
"surface_hid"
|
||||||
"surface_hid"
|
"hid_multitouch"
|
||||||
"hid_multitouch"
|
"8250_dw"
|
||||||
"8250_dw"
|
"intel_lpss"
|
||||||
"intel_lpss"
|
"intel_lpss_pci"
|
||||||
"intel_lpss_pci"
|
"xhci_pci"
|
||||||
"xhci_pci"
|
"thunderbolt"
|
||||||
"thunderbolt"
|
"nvme"
|
||||||
"nvme"
|
"usb_storage"
|
||||||
"usb_storage"
|
"sd_mod"
|
||||||
"sd_mod"
|
"surface_kbd"
|
||||||
"surface_kbd"
|
"pinctrl_tigerlake"
|
||||||
"pinctrl_tigerlake"
|
];
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"pci=hpiosize=0" # Prevent ACPI interrupt storm. See https://github.com/linux-surface/linux-surface/wiki/Surface-Pro-9#acpi-interrupt-storm
|
"pci=hpiosize=0" # Prevent ACPI interrupt storm. See https://github.com/linux-surface/linux-surface/wiki/Surface-Pro-9#acpi-interrupt-storm
|
||||||
|
|
|
@ -18,7 +18,7 @@ in
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
|
|
||||||
# Hardware defaults detected by nixos-generate-configuration
|
# Hardware defaults detected by nixos-generate-configuration
|
||||||
initrd.availableKernelModules = [
|
initrd.kernelModules = [
|
||||||
"kvm-amd"
|
"kvm-amd"
|
||||||
"nvme"
|
"nvme"
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
|
|
Loading…
Reference in a new issue