universedesktop: x11 joystick fix
This commit is contained in:
@@ -41,6 +41,16 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
background = "#000000";
|
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 = {
|
environment.sessionVariables = {
|
||||||
GTK_THEME="Adwaita-dark";
|
GTK_THEME="Adwaita-dark";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user