From 0b2fd6566da6a3271b22cfe5b78e685ffb00a51b Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2020 02:50:37 +0100 Subject: tv x220: use services.tlp.settings --- tv/2configs/hw/x220.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tv/2configs/hw') 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; -- cgit v1.2.3