From 7d670b73cb44b8b4eee3d492923552a83d549ad4 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 29 Aug 2016 01:50:12 +0200 Subject: machines/katara: libinput stub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Doesn’t work yet. --- machines/profpatsch/base.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'machines') diff --git a/machines/profpatsch/base.nix b/machines/profpatsch/base.nix index 1fffd9de..c3bd1e73 100644 --- a/machines/profpatsch/base.nix +++ b/machines/profpatsch/base.nix @@ -84,6 +84,25 @@ in { # bounded journal size services.journald.extraConfig = "SystemMaxUse=50M"; + # services.xserver = { + # libinput = { + # enable = true; + # naturalScrolling = true; + # accelSpeed = "0.01"; + # }; + + # # TODO: modify libinput module so that you can do libinput."trackpoint".scrollMethod = "button"; + # # and maybe a convenience option for thinkpads (maybe in the hardware repo?). + # config = '' + # Section "InputClass" + # Identifier "Enable libinput for TrackPoint" + # MatchIsPointer "on" + # Driver "libinput" + # Option "ScrollMethod" "button" + # Option "ScrollButton" "8" + # EndSection + # ''; + # }; ######## # Users -- cgit 1.4.1