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