configuration.nix/flake-modules/devshells.nix
Jalil David Salamé Messina 73d5518dc2
Some checks failed
/ build (audiomenu) (push) Waiting to run
/ build (docs) (push) Waiting to run
/ build (jpassmenu) (push) Waiting to run
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Waiting to run
/ build (nvim) (push) Waiting to run
/ check (push) Has been cancelled
fix: use QEMU options that actually work
The previous options didn't have functional gpu acceleration
2024-11-21 22:31:29 +01:00

13 lines
291 B
Nix

_: {
perSystem =
{ pkgs, self', ... }:
{
devShells.default = pkgs.mkShellNoCC {
buildInputs = [
pkgs.just
self'.packages.nvim
];
QEMU_OPTS_WL = "-enable-kvm -nodefaults -m 4G -cpu host -smp 4 -device virtio-gpu";
};
};
}