about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-07-01T12·26+0000
committerclbot <clbot@tvl.fyi>2022-07-01T12·28+0000
commitaea54af52e0b80fd79c9cfa432512c0d895e865f (patch)
tree6ad2db046bba363dfee2d59477fff60d0a224430
parentaaa0f92c45c58ccf96ac238fa618c4cfd4b884ce (diff)
feat(tazjin/nixos): always run powertop --auto-tune on laptops r/4269
Change-Id: I7c9e9617f646beaa4b5f0cdddd6e7946b18a7395
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5909
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/nixos/modules/laptop.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/nixos/modules/laptop.nix b/users/tazjin/nixos/modules/laptop.nix
index e0d67dc25989..2a18d8579236 100644
--- a/users/tazjin/nixos/modules/laptop.nix
+++ b/users/tazjin/nixos/modules/laptop.nix
@@ -10,6 +10,7 @@
 
   # Enable power-saving features.
   services.tlp.enable = true;
+  powerManagement.powertop.enable = true;
 
   programs.light.enable = true;
 }