about summary refs log tree commit diff
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
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
-rw-r--r--users/tazjin/nixos/modules/laptop.nix1
-rw-r--r--users/tazjin/nixos/zamalek/default.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/users/tazjin/nixos/modules/laptop.nix b/users/tazjin/nixos/modules/laptop.nix
index 2a18d85792..e0d67dc259 100644
--- a/users/tazjin/nixos/modules/laptop.nix
+++ b/users/tazjin/nixos/modules/laptop.nix
@@ -10,7 +10,6 @@
 
   # Enable power-saving features.
   services.tlp.enable = true;
-  powerManagement.powertop.enable = true;
 
   programs.light.enable = true;
 }
diff --git a/users/tazjin/nixos/zamalek/default.nix b/users/tazjin/nixos/zamalek/default.nix
index 5a4f438e01..51bc412d02 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";
 }