Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

amazon-image.nix: Add the ena driver

This is necessary for Enhanced Networking on x1.* instances.

(cherry picked from commit 56badfee94c42b2f940c89ea8ae01ece18475384)

+6 -2
+6 -2
nixos/modules/virtualisation/amazon-image.nix
··· 20 autoResize = true; 21 }; 22 23 - boot.extraModulePackages = [ config.boot.kernelPackages.ixgbevf ]; 24 - boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" "ixgbevf" ]; 25 boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ]; 26 27 # Prevent the nouveau kernel module from being loaded, as it
··· 20 autoResize = true; 21 }; 22 23 + boot.extraModulePackages = 24 + [ config.boot.kernelPackages.ixgbevf 25 + config.boot.kernelPackages.ena 26 + ]; 27 + boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ]; 28 + boot.initrd.availableKernelModules = [ "ixgbevf" "ena" ]; 29 boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ]; 30 31 # Prevent the nouveau kernel module from being loaded, as it