summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-02-24 16:41:15 -0500
committerBen Sima <ben@bsima.me>2025-02-24 16:41:15 -0500
commitb79bec26feabe1f1afb8dd072adced595722d2c5 (patch)
treebc9b5c34f9ae90e73283cf783311bb3385566759 /machines
parentd0ba514a28d2af43d3bbfafac30b8c2f1a01a814 (diff)
configure touchpad a bit
Diffstat (limited to 'machines')
-rw-r--r--machines/boron.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/machines/boron.nix b/machines/boron.nix
index 6cfa06d..a838326 100644
--- a/machines/boron.nix
+++ b/machines/boron.nix
@@ -81,6 +81,21 @@
services.xserver.xkbVariant = "";
services.xserver.xkbOptions = "caps:ctrl_modifier";
+ # touchpad stuff
+ services.xserver.libinput = {
+ enable = true;
+ touchpad = {
+ tapping = true;
+ naturalScrolling = true;
+ scrollMethod = "twofinger";
+ clickMethod = "clickfinger";
+ tappingDragLock = true;
+ additionalOptions = ''
+ Option "Gesture" "on"
+ '';
+ };
+ };
+
# Enable CUPS to print documents.
services.printing.enable = true;