···26262727 # Prevent the nouveau kernel module from being loaded, as it
2828 # interferes with the nvidia/nvidia-uvm modules needed for CUDA.
2929- boot.blacklistedKernelModules = [ "nouveau" ];
2929+ # Also blacklist xen_fbfront to prevent a 30 second delay during
3030+ # boot.
3131+ boot.blacklistedKernelModules = [ "nouveau" "xen_fbfront" ];
30323133 # Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd.
3234 boot.loader.grub.version = if cfg.hvm then 2 else 1;