diff options
author | tv <tv@krebsco.de> | 2020-11-18 02:50:37 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-11-18 02:50:37 +0100 |
commit | d410977305d210727856093291c851487efcf87a (patch) | |
tree | 180d4649e59238699f1bffec64a6dab4daf33b3b /tv | |
parent | e86bc24926f346ae1b0489e8f5cfbe770421c7a4 (diff) |
tv x220: use services.tlp.settings
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/hw/x220.nix | 6 |
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; |