about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-06 10:50:28 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-06 10:50:28 -0700
commitada9b0eee5ce40eefe8c6772d1b15e8ffd23f7e5 (patch)
tree0f1d0dd13c7bb50e5db731de9d6b09cc5bb2cfd9
parentprofiles/default: larger font on the console for all hosts (diff)
downloadworld-ada9b0eee5ce40eefe8c6772d1b15e8ffd23f7e5.tar.gz
profiles/laptop: set correct governor for tlp
I was getting:
```
Error in configuration at CPU_SCALING_GOVERNOR_ON_AC="schedutil": governor not available. Skipped.
```

Restore to the previous configuration.
-rw-r--r--profiles/laptop.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix
index 0d1c95f..43726f3 100644
--- a/profiles/laptop.nix
+++ b/profiles/laptop.nix
@@ -6,9 +6,10 @@
 
   services.thermald.enable = true;
   services.tlp.enable = true;
+
   services.tlp.settings = {
-    CPU_SCALING_GOVERNOR_ON_AC = "schedutil";
-    CPU_SCALING_GOVERNOR_ON_BAT = "schedutil";
+    CPU_SCALING_GOVERNOR_ON_AC = "performance";
+    CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
 
     # Keep charge between 60% and 80% to preserve battery life
     START_CHARGE_THRESH_BAT0 = 60;