summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-11-18 02:50:37 +0100
committertv <tv@krebsco.de>2020-11-18 02:50:37 +0100
commit0b2fd6566da6a3271b22cfe5b78e685ffb00a51b (patch)
tree3e857432e5cea0821738ea912230592feef5bb9e
parent42ca1f1cbc7c59f2554a396756e80bbc9db7161b (diff)
tv x220: use services.tlp.settings
-rw-r--r--tv/2configs/hw/x220.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix
index 61b4755..aadfc66 100644
--- a/tv/2configs/hw/x220.nix
+++ b/tv/2configs/hw/x220.nix
@@ -48,9 +48,9 @@
};
services.tlp.enable = true;
- services.tlp.extraConfig = ''
- START_CHARGE_THRESH_BAT0=80
- '';
+ services.tlp.settings = {
+ START_CHARGE_THRESH_BAT0 = 80;
+ };
nix = {
buildCores = 2;