From 73d5518dc2d82339e78ae1eb8d2866065d7fa2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Thu, 21 Nov 2024 21:47:17 +0100 Subject: [PATCH] fix: use QEMU options that actually work The previous options didn't have functional gpu acceleration --- flake-modules/devshells.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake-modules/devshells.nix b/flake-modules/devshells.nix index 677ecdc..962c4bf 100644 --- a/flake-modules/devshells.nix +++ b/flake-modules/devshells.nix @@ -7,7 +7,7 @@ _: { pkgs.just self'.packages.nvim ]; - QEMU_OPTS_WL = "--enable-kvm -smp 4 -device virtio-gpu-rutabaga,gfxstream-vulkan=on,cross-domain=on,hostmem=2G,wsi=headless"; + QEMU_OPTS_WL = "-enable-kvm -nodefaults -m 4G -cpu host -smp 4 -device virtio-gpu"; }; }; }