makefu/x200: add thinkfan and tlp
This commit is contained in:
parent
1ddd384f00
commit
8ff4227463
|
@ -12,7 +12,7 @@ with lib;
|
|||
|
||||
};
|
||||
|
||||
networking.wireless.enable = true;
|
||||
#networking.wireless.enable = true;
|
||||
|
||||
hardware.enableAllFirmware = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
@ -25,4 +25,10 @@ with lib;
|
|||
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
|
||||
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
|
||||
'';
|
||||
|
||||
services.thinkfan.enable = true;
|
||||
services.tlp.enable = true;
|
||||
services.tlp.extraConfig = ''
|
||||
START_CHARGE_THRESH_BAT0=80
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue