Use GNOME for VMs

This fixes an issue where Hyprland would suffer from the upside-down
cursor bug in QEMU/KVM due to depending on wl-roots.
This commit is contained in:
Donovan Glover 2023-05-12 23:01:20 -04:00
parent aee65e4cb1
commit f6aefe5654
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -27,6 +27,18 @@
};
virtualisation.qemu.options =
[ "-device virtio-vga-gl" "-display gtk,gl=on" ];
services.xserver.desktopManager.gnome.enable = true;
services.xserver.displayManager.gdm.enable = true;
i18n.inputMethod = lib.mkDefault {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [ mozc ];
};
services.gnome.core-utilities.enable = false;
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
hardware.pulseaudio.enable = false;
};
stylix.image = ./wallpaper.png;