From d410977305d210727856093291c851487efcf87a Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2020 02:50:37 +0100 Subject: [PATCH] tv x220: use services.tlp.settings --- tv/2configs/hw/x220.nix | 6 +++--- 1 file 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;