1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-04 18:19:40 +01:00
nixos-hardware/lenovo/thinkpad/general.nix
2017-12-22 02:56:28 +00:00

24 lines
422 B
Nix

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