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