summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <makefu@tsp>2015-08-13 17:13:42 +0200
committermakefu <makefu@tsp>2015-08-13 17:13:42 +0200
commitcee09a1ae3ecbaab66cf1707241827df7905426c (patch)
treee6a4d22955dbd11baad6dd128a8c2a3e6598a424 /makefu/2configs
parent3e89dc466daa5641abecea252a81b359f558337d (diff)
makefu/x200: add thinkfan and tlp
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/tp-x200.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/makefu/2configs/tp-x200.nix b/makefu/2configs/tp-x200.nix
index 25a2537e8..8d41d6806 100644
--- a/makefu/2configs/tp-x200.nix
+++ b/makefu/2configs/tp-x200.nix
@@ -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
+ '';
}