nixos-hardware/lenovo/thinkpad/general.nix
2017-09-21 00:11:34 +02:00

23 lines
378 B
Nix

{ pkgs, lib, ... }:
with lib;
{
hardware.trackpoint = mkDefault {
enable = true;
emulateWheel = true;
};
hardware.enableRedistributableFirmware = mkDefault true;
services.tlp.enable = true;
services.xserver = {
synaptics.enable = false;
libinput.enable = true;
};
environment.systemPackages = [ pkgs.acpi ];
sound.enableMediaKeys = true;
}