about summary refs log tree commit diff
path: root/users/tazjin/nixos/zamalek/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-07-14T15·23+0300
committerclbot <clbot@tvl.fyi>2022-07-14T15·28+0000
commit9b86f8f20892192e529cabd52f43cf52ee83ff8a (patch)
tree1a90a8980763681138100d854bed0c9c3d5abaae /users/tazjin/nixos/zamalek/default.nix
parent673796a7864f052f6870050ba94daeaf7f927075 (diff)
chore(tazjin/nixos): use powertop only on zamalek r/4300
this has weird side effects on the AMD thinkpad (of course), but since
that is stationary in my office anyways the power-saving stuff doesn't
matter so much there.

Change-Id: Ie43e3a86b2da885c25eb5c3eb36683adb14edd1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5948
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/zamalek/default.nix')
-rw-r--r--users/tazjin/nixos/zamalek/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/nixos/zamalek/default.nix b/users/tazjin/nixos/zamalek/default.nix
index 5a4f438e01eb..51bc412d02cc 100644
--- a/users/tazjin/nixos/zamalek/default.nix
+++ b/users/tazjin/nixos/zamalek/default.nix
@@ -78,6 +78,7 @@ in
   services.xserver.libinput.touchpad.clickMethod = "clickfinger";
   services.tailscale.enable = true;
   services.avahi.enable = true;
+  powerManagement.powertop.enable = true;
 
   system.stateVersion = "21.11";
 }