forked from extern/nix-config
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:
parent
aee65e4cb1
commit
f6aefe5654
@ -27,6 +27,18 @@
|
|||||||
};
|
};
|
||||||
virtualisation.qemu.options =
|
virtualisation.qemu.options =
|
||||||
[ "-device virtio-vga-gl" "-display gtk,gl=on" ];
|
[ "-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;
|
stylix.image = ./wallpaper.png;
|
||||||
|
Loading…
Reference in New Issue
Block a user