mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 05:18:44 +08:00
adjust libvirt
This commit is contained in:
parent
553c6d609d
commit
fadbeea8c3
@ -3,7 +3,11 @@
|
||||
{
|
||||
config =
|
||||
{
|
||||
virtualisation = { libvirtd.enable = true; spiceUSBRedirection.enable = true; };
|
||||
environment.systemPackages = with pkgs; [ qemu_full virt-manager ];
|
||||
virtualisation =
|
||||
{
|
||||
libvirtd = { enable = true; qemu.runAsRoot = false; onBoot = "ignore"; onShutdown = "shutdown"; };
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ qemu_full virt-manager win-spice ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user