From c4eb23062e9fdea37ff5ae17eefaca2648040d8a Mon Sep 17 00:00:00 2001 From: volth Date: Fri, 19 Jan 2018 16:28:01 +0000 Subject: [PATCH] nixos/libvirtd: add qemu-img to $PATH of the daemon ...because daemon's $PATH does not include "/run/current-system/sw/bin" --- nixos/modules/virtualisation/libvirtd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix index 64465ae18522..a369b7ddbe1d 100644 --- a/nixos/modules/virtualisation/libvirtd.nix +++ b/nixos/modules/virtualisation/libvirtd.nix @@ -128,6 +128,7 @@ in { dmidecode dnsmasq ebtables + cfg.qemuPackage # libvirtd requires qemu-img to manage disk images ] ++ optional vswitch.enable vswitch.package;