mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-15 11:47:54 +08:00
21 lines
369 B
Nix
21 lines
369 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# NOTE: libinput changes require a reboot
|
|
services.xserver.libinput = {
|
|
enable = true;
|
|
|
|
# macOS like scrolling
|
|
mouse.naturalScrolling = true;
|
|
touchpad.naturalScrolling = true;
|
|
|
|
# Tap to click
|
|
touchpad.tapping = true;
|
|
};
|
|
|
|
hardware.trackpoint = {
|
|
enable = true;
|
|
sensitivity = 160;
|
|
speed = 150;
|
|
};
|
|
}
|