mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 18:08:38 +08:00
Segregate lenovo/ subdir into thinkpad and ideapad directories
There are several significant differences between ThinkPads and the other Lenovo models, so this structure must be more precise
This commit is contained in:
18
lenovo/thinkpad/general.nix
Normal file
18
lenovo/thinkpad/general.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
hardware.trackpoint = mkDefault {
|
||||
enable = true;
|
||||
emulateWheel = true;
|
||||
};
|
||||
|
||||
hardware.enableAllFirmware = true;
|
||||
services.tlp.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
synaptics.enable = false;
|
||||
libinput.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user