diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-07 17:21:44 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-07 17:51:15 +0200 |
commit | 3adb769776199ea5e4fe8760fca0e4dca3193fae (patch) | |
tree | 0e54af21a461df008a18ed5fe009432681aaab61 | |
parent | 04eb7492dccb3d314911666fea15a67602c1e422 (diff) | |
download | nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.gz nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.bz2 nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.lz nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.xz nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.tar.zst nixlib-3adb769776199ea5e4fe8760fca0e4dca3193fae.zip |
amazon-image.nix: Add the ixgbevf driver
-rw-r--r-- | nixos/modules/virtualisation/amazon-image.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 9e8417cde1df..da5575f4b6dd 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 |