forked from extern/nix-config
This commit fixes the cursor being upside down and inaccurate in Hyprland. Note that show-cursor=off is used to avoid the duplicate cursor issue described in https://github.com/swaywm/sway/issues/6581 Unlike GNOME, Hyprland does not automatically change resolution on window change, so fullscreen is enabled by default to ensure a certain size. In the future, a script could be used to adjust the resolution as needed. Related: https://github.com/hyprwm/Hyprland/issues/1056
16 lines
316 B
Nix
16 lines
316 B
Nix
{
|
|
virtualisation.vmVariant = {
|
|
virtualisation = {
|
|
memorySize = 8192;
|
|
cores = 4;
|
|
};
|
|
|
|
virtualisation.qemu.options =
|
|
[ "-device virtio-vga-gl" "-display sdl,gl=on,show-cursor=off" "-full-screen" ];
|
|
|
|
environment.sessionVariables = {
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
};
|
|
};
|
|
}
|