summary refs log tree commit diff
path: root/nixos/modules/virtualisation/amazon-image.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-07 17:21:44 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-07 17:51:15 +0200
commit3adb769776199ea5e4fe8760fca0e4dca3193fae (patch)
tree0e54af21a461df008a18ed5fe009432681aaab61 /nixos/modules/virtualisation/amazon-image.nix
parent04eb7492dccb3d314911666fea15a67602c1e422 (diff)
downloadnixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar
nixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.gz
nixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.bz2
nixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.lz
nixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.xz
nixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.zst
nixpkgs-3adb769776199ea5e4fe8760fca0e4dca3193fae.zip
amazon-image.nix: Add the ixgbevf driver
Diffstat (limited to 'nixos/modules/virtualisation/amazon-image.nix')
-rw-r--r--nixos/modules/virtualisation/amazon-image.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix
index 9e8417cde1d..da5575f4b6d 100644
--- a/nixos/modules/virtualisation/amazon-image.nix
+++ b/nixos/modules/virtualisation/amazon-image.nix
@@ -20,7 +20,8 @@ let cfg = config.ec2; in
       autoResize = true;
     };
 
-    boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
+    boot.extraModulePackages = [ config.boot.kernelPackages.ixgbevf ];
+    boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" "ixgbevf" ];
     boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ];
 
     # Prevent the nouveau kernel module from being loaded, as it