x86: remove the useless kernelModules = []

i believe this is a relic from the original `nixos-generate-config` run,
which doesn't understand that this statement is useless
This commit is contained in:
2022-08-06 19:37:52 -07:00
parent b1ae5b0f9c
commit 78dfb03c2b

View File

@@ -2,7 +2,6 @@
with lib;
{
# TODO: some of this might generalize beyond just x86
config = mkIf (pkgs.system == "x86_64-linux") {
boot.initrd.availableKernelModules = [
"xhci_pci" "ahci" "sd_mod" "sdhci_pci" # nixos-generate-config defaults
@@ -10,8 +9,6 @@ with lib;
"nvme" # to boot from nvme devices
# efi_pstore evivars
];
boot.initrd.kernelModules = [ ];
boot.extraModulePackages = [ ];
# enable cross compilation
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];