mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 17:28:59 +08:00
10 lines
232 B
Nix
10 lines
232 B
Nix
# TODO: disable auto usb redirection
|
|
{ pkgs, ...}@inputs:
|
|
{
|
|
config =
|
|
{
|
|
virtualisation = { libvirtd.enable = true; spiceUSBRedirection.enable = true; };
|
|
environment.systemPackages = with pkgs; [ qemu_full virt-manager ];
|
|
};
|
|
}
|