From e50016cd7bef9a6b7fe9a7fcf08ec342e44b7ab1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 3 Jun 2023 10:58:52 -0400 Subject: [PATCH] Enable host virtualization Unfortunately, libvirt / QEMU / KVM / virt-manager etc. aren't quite there yet when it comes to virtualization of non-Linux guests. Since I do not have the equipment necessary to pass through a second GPU, it's much easier to rely on the current dominance that VMware has in the field. --- applications/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/applications/default.nix b/applications/default.nix index 4fb2264..6aab00d 100644 --- a/applications/default.nix +++ b/applications/default.nix @@ -12,6 +12,15 @@ ./zathura ]; + virtualisation.vmware.host = { + enable = true; + extraConfig = '' + # Enable 3D acceleration on the host + mks.gl.allowUnsupportedDrivers = "TRUE" + mks.vk.allowUnsupportedDevices = "TRUE" + ''; + }; + environment.systemPackages = with pkgs; [ audacity gimp