summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-30 18:23:42 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-30 18:23:42 +0200
commitbe0f5eb45c2bf95dc46725da271bd1cd3e2d54e8 (patch)
treebc32baf1f0e8dd82026db2270977d631bbb05823 /nixos
parent8f5ebe495ca2a298456faf87fdf0be77761e9cb1 (diff)
downloadnixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.tar
nixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.tar.gz
nixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.tar.bz2
nixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.tar.lz
nixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.tar.xz
nixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.tar.zst
nixlib-be0f5eb45c2bf95dc46725da271bd1cd3e2d54e8.zip
qemu-guest.nix: Load virtio_rng
This allows the guest to have a paravirtualized RNG, if the host
provides it.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/profiles/qemu-guest.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/qemu-guest.nix b/nixos/modules/profiles/qemu-guest.nix
index 0a92b7ace507..79890aa7f17c 100644
--- a/nixos/modules/profiles/qemu-guest.nix
+++ b/nixos/modules/profiles/qemu-guest.nix
@@ -5,7 +5,7 @@
 
 {
   boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ];
-  boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" ];
+  boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" "virtio_rng" ];
 
   boot.initrd.postDeviceCommands =
     ''