Skip to content

Commit

Permalink
flake: disable animations and blue inside VM
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Jul 25, 2024
1 parent 703de95 commit f683901
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,13 @@
services.getty.autologinUser = user;

virtualisation.qemu = {
# package = lib.mkForce pkgs.qemu_full;
options = [
"-smp 2"
"-m 4G"
"-vga none"
"-device virtio-gpu-pci"
# needs qemu_full:
# "-device virtio-vga-gl"
# "-display egl-headless,gl=core"
# "-display gtk,gl=on"
# Works only in Wayland, may be slightly faster
# "-device virtio-gpu-rutabaga,gfxstream-vulkan=on,cross-domain=on,hostmem=2G"
];
};

Expand All @@ -106,6 +103,16 @@
''
bind = SUPER, Q, exec, kitty # Bind() test need at least one bind
exec-once = kitty sh -c ${testScript}
animations {
# slow, and nobody is looking anyway
enabled = false
}
decoration {
# slow, and nobody is looking anyway
blur {
enabled = false
}
}
cursor {
# improve cursor in VM
no_hardware_cursors = true
Expand Down

0 comments on commit f683901

Please sign in to comment.