mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 04:58:44 +08:00
virtualisation: kvmHost: parallel shutdown
This commit is contained in:
parent
cf6e8dff66
commit
4f39c1a1f3
@ -67,7 +67,14 @@ inputs:
|
|||||||
};
|
};
|
||||||
virtualisation =
|
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;
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
environment.systemPackages = with inputs.pkgs; [ qemu_full win-spice ] ++
|
environment.systemPackages = with inputs.pkgs; [ qemu_full win-spice ] ++
|
||||||
|
Loading…
Reference in New Issue
Block a user