summaryrefslogtreecommitdiff
path: root/modules/virt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/virt.nix')
-rw-r--r--modules/virt.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/virt.nix b/modules/virt.nix
index 416f1c4..feb27c7 100644
--- a/modules/virt.nix
+++ b/modules/virt.nix
@@ -13,7 +13,9 @@ in
environment.systemPackages = with pkgs; [
qemu
];
+ programs.virt-manager.enable = true;
virtualisation = {
+ spiceUSBRedirection.enable = true;
docker.enable = true;
libvirtd = {
enable = true;
@@ -28,7 +30,6 @@ in
})
(lib.mkIf cfg.guest {
- virtualisation.spiceUSBRedirection.enable = true;
services.spice-vdagentd.enable = true;
})
]);