mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 07:08:38 +01:00
91be6afd3f
I originally used GNOME for virtualization because the cursor in Hyprland was upside down and its position was offset by a noticeable amount. However, now that I've figured out how to make Hyprland work under QEMU with an accurate cursor, this is no longer needed.
12 lines
203 B
Nix
12 lines
203 B
Nix
{
|
|
virtualisation.vmVariant = {
|
|
virtualisation = {
|
|
memorySize = 8192;
|
|
cores = 4;
|
|
};
|
|
|
|
virtualisation.qemu.options =
|
|
[ "-device virtio-vga-gl" "-display sdl,gl=on" ];
|
|
};
|
|
}
|