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;
This commit is contained in:
Yegor Timoshenko 2017-12-22 03:02:07 +00:00
parent 440088677b
commit a6f8e4bbc0
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210

View file

@ -5,20 +5,7 @@ let
in in
{ {
hardware.trackpoint = mkDefault { hardware.trackpoint.enable = mkDefault true;
enable = true; services.tlp.enable = mkDefault true;
emulateWheel = true; services.xserver.libinput.enable = mkDefault 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;
} }