summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commitd410977305d210727856093291c851487efcf87a (patch)
tree180d4649e59238699f1bffec64a6dab4daf33b3b /tv/2configs
parente86bc24926f346ae1b0489e8f5cfbe770421c7a4 (diff)
tv x220: use services.tlp.settings
Diffstat (limited to 'tv/2configs')
-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 61b475537..aadfc6691 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;