about summary refs log tree commit diff
path: root/machines/profpatsch/base.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-08-29 01:50:12 +0200
committerProfpatsch <mail@profpatsch.de>2016-08-29 01:50:12 +0200
commit7d670b73cb44b8b4eee3d492923552a83d549ad4 (patch)
tree40afe798da345d5494b37823ad48f8cd7ecf6670 /machines/profpatsch/base.nix
parent0e0974f0f4c2e16ce62cf560bc8b2d0f31cd2499 (diff)
machines/katara: libinput stub
Doesn’t work yet.
Diffstat (limited to 'machines/profpatsch/base.nix')
-rw-r--r--machines/profpatsch/base.nix19
1 files changed, 19 insertions, 0 deletions
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