virt-manager
This commit is contained in:
parent
39946c6953
commit
f8c5683aba
2 changed files with 28 additions and 0 deletions
|
|
@ -3,5 +3,6 @@
|
|||
./steam.nix
|
||||
./pwvucontrol.nix
|
||||
./wine.nix
|
||||
./virt-manager.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
27
nixos/roles/physical/desktop/common/apps/virt-manager.nix
Normal file
27
nixos/roles/physical/desktop/common/apps/virt-manager.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, vars, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-manager
|
||||
virt-viewer
|
||||
spice
|
||||
spice-gtk
|
||||
spice-protocol
|
||||
];
|
||||
|
||||
programs.dconf.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
virtualisation = {
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
spiceUSBRedirection.enable = true;
|
||||
|
||||
qemu = {
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.libvirted.members = ["${vars.user}"];
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue