mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
be0fca5781
This has the advantage that it doesn't depend on networking being up. * Move common QEMU/KVM guest configuration to profiles/qemu-guest.nix. svn path=/nixos/trunk/; revision=26421
9 lines
218 B
Nix
9 lines
218 B
Nix
# Common configuration for virtual machines running under QEMU (using
|
|
# virtio).
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
boot.initrd.kernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "virtio_console" ];
|
|
}
|