about summary refs log tree commit diff
path: root/hardware
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-12-23 15:55:04 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-12-23 15:55:04 +0100
commit4d7a00b4f61e93ec503ac2756873a33e71debc6c (patch)
treec15692c7b8718a0d647f1df65c585f96c400b680 /hardware
parentHardware: Thinkpad: Add comments on how to setup nvramtool (diff)
downloadnixos-config-4d7a00b4f61e93ec503ac2756873a33e71debc6c.tar.gz
nixos-config-4d7a00b4f61e93ec503ac2756873a33e71debc6c.tar.bz2
nixos-config-4d7a00b4f61e93ec503ac2756873a33e71debc6c.zip
Hardware: Thinkpad: Add instructions on ectool setup
Diffstat (limited to 'hardware')
-rw-r--r--hardware/thinkpad/default.nix6
1 files changed, 6 insertions, 0 deletions
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
   ];
+
 }