about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2017-12-04 14:32:19 +0000
committerdevhell <devhell@mailfresser.de>2017-12-04 14:32:19 +0000
commit3b8b13cfb44e919e834b6b393fd66130053c0a16 (patch)
tree7a9c8706a7d071019f294ee7fcfe630dfc75b977 /machines
parentb1862e25bab69a2f53f1828bf4ab3959671fcf26 (diff)
machines/titan: Add powertop auto-tuning
I find myself turning this on manually more and more, so might as well
turn it on automatically.
Diffstat (limited to 'machines')
-rw-r--r--machines/devhell/titan.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/machines/devhell/titan.nix b/machines/devhell/titan.nix
index 0b9c39bf..68099559 100644
--- a/machines/devhell/titan.nix
+++ b/machines/devhell/titan.nix
@@ -61,7 +61,10 @@
   networking.useNetworkd= true;
   networking.nameservers = [ "127.0.0.1" ];
 
-  powerManagement.cpuFreqGovernor = "powersave";
+  powerManagement = {
+    powertop.enable = true;
+    cpuFreqGovernor = "powersave";
+  };
 
   virtualisation.docker.enable = true;