From 4d7a00b4f61e93ec503ac2756873a33e71debc6c Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 23 Dec 2022 15:55:04 +0100 Subject: Hardware: Thinkpad: Add instructions on ectool setup --- hardware/thinkpad/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hardware/thinkpad/default.nix b/hardware/thinkpad/default.nix index 139097f..1898022 100644 --- a/hardware/thinkpad/default.nix +++ b/hardware/thinkpad/default.nix @@ -9,8 +9,14 @@ # me_state = Disable # gfx_uma_size = 128M + # ectool battery threshold setting (84%): + # + # ectool -w 0xb1 -z 0x54 + environment.systemPackages = with pkgs; [ flashrom nvramtool + ectool ]; + } -- cgit 1.4.1