From 512a3b36ea0c398872c32e036ed9943db8b796d4 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sat, 27 Jan 2024 18:53:29 +0100 Subject: [PATCH] change virtualisation config --- modules/core/virtualization.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/modules/core/virtualization.nix b/modules/core/virtualization.nix index 0412512..92730bc 100644 --- a/modules/core/virtualization.nix +++ b/modules/core/virtualization.nix @@ -1,5 +1,8 @@ { config, pkgs, username, ... }: { + # Enable dconf (System Management Tool) + programs.dconf.enable = true; + # Add user to libvirtd group users.users.${username}.extraGroups = [ "libvirtd" ]; @@ -7,22 +10,15 @@ environment.systemPackages = with pkgs; [ virt-manager virt-viewer - spice - spice-gtk + spice spice-gtk spice-protocol win-virtio win-spice gnome.adwaita-icon-theme - virtiofsd ]; # Manage the virtualisation services virtualisation = { - vmware.host = { - enable = true; - package = pkgs.vmware-workstation; - }; - libvirtd = { enable = true; qemu = { @@ -34,4 +30,4 @@ spiceUSBRedirection.enable = true; }; services.spice-vdagentd.enable = true; -} +} \ No newline at end of file