From 8add65502865246905c7cbf2cc5a4d68e929c193 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 16 Mar 2011 12:31:06 +0000 Subject: [PATCH] * Add qemu_kvm to the system path. svn path=/nixos/trunk/; revision=26359 --- modules/virtualisation/libvirtd.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/virtualisation/libvirtd.nix b/modules/virtualisation/libvirtd.nix index fa3e181248e4..9aacd02f95af 100644 --- a/modules/virtualisation/libvirtd.nix +++ b/modules/virtualisation/libvirtd.nix @@ -43,7 +43,9 @@ in config = mkIf cfg.enable { - environment.systemPackages = [ pkgs.libvirt ]; + environment.systemPackages = + [ pkgs.libvirt ] + ++ optional cfg.enableKVM pkgs.qemu_kvm; boot.kernelModules = [ "tun" ];