makefu/x200: add thinkfan and tlp

This commit is contained in:
makefu 2015-08-13 17:13:42 +02:00
parent 1ddd384f00
commit 8ff4227463

View file

@ -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
'';
}