1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-12 22:19:40 +01:00
nixos-hardware/lenovo/thinkpad/general.nix
Yegor Timoshenko a6f8e4bbc0
thinkpad: remove various assumptions
* hardware.trackpoint.emulateWheel = true; is very biased, this module
  is only for ThinkPads anyway, so default value should be used
* All options that should be overridable (e.g. services.tlp.enable)
* Hardware profile should not pull in stuff into system environment
  unless it's hardware-specific (pkgs.acpi is not)
* sound.mediaKeys clashes with DE, e.g. Xfce handling sound keys
* Drop redundant synaptics.enable = false;
2017-12-22 03:10:09 +00:00

11 lines
200 B
Nix

{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
in
{
hardware.trackpoint.enable = mkDefault true;
services.tlp.enable = mkDefault true;
services.xserver.libinput.enable = mkDefault true;
}