nixpkgs/modules/profiles/qemu-guest.nix
Eelco Dolstra 0cbdfb2bbf * Use boot.initrd.availableKernelModules for the QEMU modules.
svn path=/nixos/trunk/; revision=28973
2011-09-02 13:20:05 +00:00

10 lines
279 B
Nix

# Common configuration for virtual machines running under QEMU (using
# virtio).
{ config, pkgs, ... }:
{
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "virtio_console" ];
boot.initrd.kernelModules = [ "virtio_balloon" ];
}