From 0bd3a0ed81a184f5c97625f68ac72a1ecd9aed43 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Tue, 20 Oct 2026 12:10:06 +0400 Subject: [PATCH] desktop: add an xfce-x11 boot specialisation A second boot entry with Xfce on Xorg via LightDM, matching the desktop where another.im's typing jitter shows up (2026-10-19), to reproduce it here. GDM in GNOME 50 no longer starts Xorg sessions, hence LightDM. The default entry is untouched. Assisted-by: Claude:opus-5-5 --- configuration.nix | 1 + modules/xfce-x11-test.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 modules/xfce-x11-test.nix diff --git a/configuration.nix b/configuration.nix index 635b901..4d42a46 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,6 +22,7 @@ ./modules/lemonade.nix ./modules/gaming.nix ./modules/litecoin.nix + ./modules/xfce-x11-test.nix # ./modules/hostel-wifi.nix # disabled 2026-05-08 — re-enable when needed ]; diff --git a/modules/xfce-x11-test.nix b/modules/xfce-x11-test.nix new file mode 100644 index 0000000..b3e81b0 --- /dev/null +++ b/modules/xfce-x11-test.nix @@ -0,0 +1,19 @@ +# A second boot entry, "xfce-x11", that looks like hx26's desktop for the +# another.im typing-jitter bug (2026-10-19): Xfce on Xorg with xfwm4 +# compositing, logged in through LightDM. Only the display manager and the +# session differ from the default entry; GNOME stays installed, so the +# normal boot is untouched. Pick the entry in the boot menu. +{ lib, ... }: + +{ + specialisation.xfce-x11.configuration = { + system.nixos.tags = [ "xfce-x11" ]; + + # GDM in GNOME 50 no longer starts Xorg sessions. + services.displayManager.gdm.enable = lib.mkForce false; + services.xserver.displayManager.lightdm.enable = true; + + services.xserver.desktopManager.xfce.enable = true; + services.displayManager.defaultSession = lib.mkForce "xfce"; + }; +}