virtualisation: kvmHost: parallel shutdown

This commit is contained in:
陈浩南 2023-09-21 15:46:58 +08:00
parent cf6e8dff66
commit 4f39c1a1f3

View File

@ -67,7 +67,14 @@ inputs:
};
virtualisation =
{
libvirtd = { enable = true; qemu.runAsRoot = false; onBoot = "ignore"; onShutdown = "shutdown"; };
libvirtd =
{
enable = true;
qemu.runAsRoot = false;
onBoot = "ignore";
onShutdown = "shutdown";
parallelShutdown = 4;
};
spiceUSBRedirection.enable = true;
};
environment.systemPackages = with inputs.pkgs; [ qemu_full win-spice ] ++