feat(devShell): Add QEMU_OPTS_WL env var
This var has some nice defaults if you are running a Wayland host and can spare 4vCPU cores and 2GiB of RAM. Also improve README's documentation.
This commit is contained in:
parent
413fa9fb39
commit
f10bfb3e43
2 changed files with 16 additions and 6 deletions
|
@ -183,6 +183,7 @@
|
|||
default = pkgs.mkShell {
|
||||
inherit (self.checks.${system}.pre-commit-check) shellHook;
|
||||
buildInputs = with pkgs; [ just self.packages.${system}.nvim ];
|
||||
QEMU_OPTS_WL = "-smp 4 -device virtio-gpu-rutabaga,gfxstream-vulkan=on,cross-domain=on,hostmem=2G,wsi=headless";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue