From 74f3632834c96ca47c9ad53774fc56956361a123 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Sat, 9 Aug 2025 11:08:13 -0400 Subject: [PATCH] universedesktop: x11 joystick fix --- machines/universedesktop/desktop/dwm.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/machines/universedesktop/desktop/dwm.nix b/machines/universedesktop/desktop/dwm.nix index 4a8a007..166161a 100644 --- a/machines/universedesktop/desktop/dwm.nix +++ b/machines/universedesktop/desktop/dwm.nix @@ -41,6 +41,16 @@ enable = true; background = "#000000"; }; + services.xserver.config = lib.mkAfter '' +Section "InputClass" + Identifier "joystick catchall" + MatchIsJoystick "on" + MatchDevicePath "/dev/input/event*" + Driver "joystick" + Option "StartKeysEnabled" "False" + Option "StartMouseEnabled" "False" +EndSection + ''; environment.sessionVariables = { GTK_THEME="Adwaita-dark"; };