summaryrefslogtreecommitdiff
path: root/services/x11-laptop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'services/x11-laptop.nix')
-rw-r--r--services/x11-laptop.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/services/x11-laptop.nix b/services/x11-laptop.nix
index a14bf8d..4ff0513 100644
--- a/services/x11-laptop.nix
+++ b/services/x11-laptop.nix
@@ -3,10 +3,12 @@
# Enable touchpad support.
services.xserver.libinput = {
enable = true;
- accelProfile = "adaptive";
- accelSpeed = "0.5";
- disableWhileTyping = true;
- scrollMethod = "twofinger";
- horizontalScrolling = false;
+ touchpad = {
+ accelProfile = "adaptive";
+ accelSpeed = "0.5";
+ disableWhileTyping = true;
+ scrollMethod = "twofinger";
+ horizontalScrolling = false;
+ };
};
}