nixos/amazon-image: do not force-load xen-blkfront kernel module

Most AWS instances use Nitro Hypervisor these days which
expose EBS volumes as nvme disks.

And even on previous-generation instances that still use Xen
(like T2) the  xen-blkfront module will be loaded automatically
due to the presence of a modalias.

This fixes #46881
This commit is contained in:
Arian van Putten
2024-05-23 11:03:38 +02:00
parent 694c906630
commit 20f01aa76c
@@ -49,7 +49,6 @@ in
boot.extraModulePackages = [
config.boot.kernelPackages.ena
];
boot.initrd.kernelModules = [ "xen-blkfront" ];
boot.initrd.availableKernelModules = [ "nvme" ];
boot.kernelParams = [ "console=ttyS0,115200n8" "random.trust_cpu=on" ];