summaryrefslogtreecommitdiffstats
path: root/lenovo/thinkpad/general.nix
blob: 71db23a4a2d8612c25c4e0fb795114aac2395b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs, lib, ... }:

with lib;

{
  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;
}