summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-03-27 17:52:24 -0600
committerKenny Ballou <kballou@devnulllabs.io>2020-04-07 23:50:05 -0600
commit8575d8fb9da1381312956bc347a7f21c92819521 (patch)
tree47a541d9123bfc9266d7c5fba20ce3f104f0c770 /services
parenteae1b48a69dea7f825dbfbda615ba724b4a2ffc6 (diff)
downloadcfg.nix-8575d8fb9da1381312956bc347a7f21c92819521.tar.gz
cfg.nix-8575d8fb9da1381312956bc347a7f21c92819521.tar.xz
x11-laptop: refactor libinput
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'services')
-rw-r--r--services/x11-laptop.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/services/x11-laptop.nix b/services/x11-laptop.nix
index c54d5e9..d81a456 100644
--- a/services/x11-laptop.nix
+++ b/services/x11-laptop.nix
@@ -1,7 +1,9 @@
{ config, ... }:
{
# Enable touchpad support.
- services.xserver.libinput.enable = true;
- services.xserver.libinput.scrollMethod = "twofinger";
- services.xserver.libinput.horizontalScrolling = false;
+ services.xserver.libinput = {
+ enable = true;
+ scrollMethod = "twofinger";
+ horizontalScrolling = false;
+ };
}