From 3797ed13c1b2f7cda4cf4169758d11c607658fca Mon Sep 17 00:00:00 2001 From: cspark Date: Sat, 16 Mar 2024 05:49:20 +0000 Subject: [PATCH] Xwayland support for laptop config --- configurations/laptop/configuration.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/configurations/laptop/configuration.nix b/configurations/laptop/configuration.nix index 138fc4ab..bdafb8ce 100644 --- a/configurations/laptop/configuration.nix +++ b/configurations/laptop/configuration.nix @@ -21,17 +21,6 @@ networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - services.xserver = { - # Enable the X11 windowing system. - enable = true; - - # Remove/disable xterm, we are using Konsole. - desktopManager.xterm.enable = false; - excludePackages = with pkgs; [ xterm ]; - - # Enable touchpad support (enabled default in most desktopManager). - # libinput.enable = true; - }; # Enable the Sway Tiling Compositor and add extra system packages. programs.sway = { enable = true; @@ -58,7 +47,9 @@ xdg.portal.wlr.enable = true; xdg.portal.extraPortals = with pkgs; [ kdePackages.xdg-desktop-portal-kde ]; # Whether to enable Qt configuration, including theming. - qt.enable = true + qt.enable = true; + # Enable xwayland support + programs.xwayland.enable = true; # GTK themes are not applied in Wayland applications / Window Decorations missing / Cursor looks different programs.dconf.enable = true;