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 = { boot = {
kernelModules = [ "kvm-amd" ]; kernelModules = [ "kvm-amd" ];
initrd.availableKernelModules = [ initrd.kernelModules = [
"kvm-amd" "kvm-amd"
"nvme" "nvme"
"xhci_pci" "xhci_pci"

View file

@ -31,8 +31,7 @@ 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"
@ -51,7 +50,6 @@ in
"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

View file

@ -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"