954 B
954 B
modules/nixos/desktop/x11/
X11 server setup and touchpad gesture support for desktop hosts.
Files
x11/
├── default.nix # Enables services.xserver (us layout) when desktop.enable is set
└── lib-gesture.nix # skyg.nixos.desktop.x11.enableLibGestures — libinput-gestures + tools
Behaviour
default.nixenablesservices.xserverwith a US keyboard layout wheneverskyg.nixos.desktop.enableis on (X is kept available even on Wayland-first hosts).lib-gesture.nixis an independent opt-in that installslibinput-gestures,wmctrl,xdotool, adds the user to theinputgroup, and symlinksconfigs/libinput-gestures.confinto the user's~/.config.
Option Namespace
skyg.nixos.desktop.x11.enableLibGestures # default false
Conventions
- Gesture config is sourced from
configs/libinput-gestures.confvia an activation symlink — edit the config there, not in the module.