feat(gnome): activate wayland

This activates wayland support but keep gnome-xorg as the default
session since some applications do not run with this setup yet.
This commit is contained in:
Felix Schröter 2021-08-04 22:08:30 +02:00
parent 14a8e725a3
commit 7a0f98d20e
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 17 additions and 2 deletions
desktop

View file

@ -33,12 +33,18 @@ in {
];
services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.wayland = false;
services.xserver.displayManager.gdm.wayland = true;
services.xserver.displayManager.gdm.nvidiaWayland = true;
services.xserver.displayManager.defaultSession = "gnome-xorg";
services.xserver.desktopManager.gnome.enable = true;
services.xserver.desktopManager.gnome.extraGSettingsOverrides = ''
[org/gnome/desktop/input-sources]
sources=[('xkb', 'gb'), ('xkb', 'mozc-jp')]
[org/gnome/mutter]
experimental-features=['kms-modifiers']
'';
programs.xwayland.enable = true;
# exclude some default applications
environment.gnome.excludePackages = with pkgs; [