mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 09:38:07 +08:00
The recommended driver is libinput, furthermore
the packaging of synaptics is officially deprecated in NixOS:
9d2777a5a5
19 lines
270 B
Nix
19 lines
270 B
Nix
{ lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
hardware.trackpoint = mkDefault {
|
|
enable = true;
|
|
emulateWheel = true;
|
|
};
|
|
|
|
hardware.enableAllFirmware = true;
|
|
services.tlp.enable = true;
|
|
|
|
services.xserver = {
|
|
synaptics.enable = false;
|
|
libinput.enable = true;
|
|
};
|
|
}
|