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"; + }; +}