mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-02 15:59:43 +01:00
thinkpad: enable tp_smapi on all ThinkPads
This commit is contained in:
parent
1133ce7d83
commit
ee47d31478
2 changed files with 5 additions and 5 deletions
|
@ -5,6 +5,11 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
boot = {
|
||||||
|
kernelModules = [ "tp_smapi" ];
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
|
||||||
|
};
|
||||||
|
|
||||||
hardware.trackpoint.enable = mkDefault true;
|
hardware.trackpoint.enable = mkDefault true;
|
||||||
services.tlp.enable = mkDefault true;
|
services.tlp.enable = mkDefault true;
|
||||||
services.xserver.libinput.enable = mkDefault true;
|
services.xserver.libinput.enable = mkDefault true;
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [ ../intel.nix ];
|
imports = [ ../intel.nix ];
|
||||||
|
|
||||||
boot = {
|
|
||||||
kernelModules = [ "tp_smapi" ];
|
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# hard disk protection if the laptop falls
|
# hard disk protection if the laptop falls
|
||||||
services.hdapsd.enable = true;
|
services.hdapsd.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue