2011-03-18 13:38:22 +01:00
|
|
|
# Common configuration for virtual machines running under QEMU (using
|
|
|
|
# virtio).
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2013-07-05 17:24:49 +02:00
|
|
|
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ];
|
2012-03-19 16:10:39 +01:00
|
|
|
boot.kernelModules = [ "virtio_balloon" "virtio_console" ];
|
2011-03-18 13:38:22 +01:00
|
|
|
}
|