mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
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:
parent
440088677b
commit
a6f8e4bbc0
1 changed files with 3 additions and 16 deletions
|
@ -5,20 +5,7 @@ let
|
|||
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;
|
||||
hardware.trackpoint.enable = mkDefault true;
|
||||
services.tlp.enable = mkDefault true;
|
||||
services.xserver.libinput.enable = mkDefault true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue