about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/power-save/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/power-save/default.nix b/modules/power-save/default.nix
index f9519a1..8360043 100644
--- a/modules/power-save/default.nix
+++ b/modules/power-save/default.nix
@@ -1,6 +1,10 @@
 { config, pkgs, ... }:
 {
 
+  environment.systemPackages = with pkgs; [
+    powertop
+  ];
+
   boot = {
     kernelParams = [ "pcie_aspm.policy=powersave" ];
     # blacklistedKernelModules = [ "uvcvideo" ];
@@ -29,4 +33,6 @@
     # i2p.enable = pkgs.lib.mkForce false;
     # tor.enable = pkgs.lib.mkForce false;
   };
+
+  powerManagement.powertop.enable = true;
 }