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