mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 18:08:38 +08:00
Initialize general.nix; merge defaults into all ThinkPad configurations
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
{
|
||||
imports =
|
||||
[ ../lib/kernel-version.nix
|
||||
./general.nix
|
||||
];
|
||||
|
||||
## BEGIN from generated hardware-configuration
|
||||
@@ -45,15 +46,5 @@
|
||||
services.xserver = {
|
||||
libinput.enable = true;
|
||||
synaptics.enable = false;
|
||||
|
||||
config = ''
|
||||
Section "InputClass"
|
||||
Identifier "Enable libinput for TrackPoint"
|
||||
MatchIsPointer "on"
|
||||
Driver "libinput"
|
||||
Option "ScrollMethod" "button"
|
||||
Option "ScrollButton" "8"
|
||||
EndSection
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user