about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-05-13T10·48+0200
committertazjin <mail@tazj.in>2021-05-13T12·24+0000
commit8dfc7a9f9d8943cfc56721c09ae9c04090a8f500 (patch)
treef6337e146e3923eb4c5c9f9f887503017d3c610a
parent3033de5792e6cbf930c211ff6319bb6fec1e5f55 (diff)
feat(grfn/modules/laptop): Enable TLP service r/2593
This service performes automatic power tuning and has effectively
replaced powertop's tuning functionality in modern systems.

Change-Id: I63c6999beed64d96c77b8b9287ed0d5fa6ddd9fa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3121
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
-rw-r--r--users/grfn/system/system/modules/laptop.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/grfn/system/system/modules/laptop.nix b/users/grfn/system/system/modules/laptop.nix
index 8c09f3a44266..05c5333e513f 100644
--- a/users/grfn/system/system/modules/laptop.nix
+++ b/users/grfn/system/system/modules/laptop.nix
@@ -10,4 +10,6 @@
   services.logind.extraConfig = ''
     HandlePowerKey=hibernate
   '';
+
+  services.tlp.enable = true;
 }