diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-12-23 15:55:04 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-12-23 15:55:04 +0100 |
commit | 4d7a00b4f61e93ec503ac2756873a33e71debc6c (patch) | |
tree | c15692c7b8718a0d647f1df65c585f96c400b680 /hardware/thinkpad/default.nix | |
parent | Hardware: Thinkpad: Add comments on how to setup nvramtool (diff) | |
download | nixos-config-4d7a00b4f61e93ec503ac2756873a33e71debc6c.tar.gz nixos-config-4d7a00b4f61e93ec503ac2756873a33e71debc6c.tar.bz2 nixos-config-4d7a00b4f61e93ec503ac2756873a33e71debc6c.zip |
Hardware: Thinkpad: Add instructions on ectool setup
Diffstat (limited to '')
-rw-r--r-- | hardware/thinkpad/default.nix | 6 |
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 ]; + } |