diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-12-30 17:37:28 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-12-30 17:37:28 +0100 |
commit | 251a72d467ad3f7cb30116d57f6e2169dd82175b (patch) | |
tree | cce935afdf375a80b4ec1934301ebfcab760d631 | |
parent | Hardware: Thinkpad: Add intelmetool package (diff) | |
download | nixos-config-251a72d467ad3f7cb30116d57f6e2169dd82175b.tar.gz nixos-config-251a72d467ad3f7cb30116d57f6e2169dd82175b.tar.bz2 nixos-config-251a72d467ad3f7cb30116d57f6e2169dd82175b.zip |
Modules: power-save: Add powertop
-rw-r--r-- | modules/power-save/default.nix | 6 |
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; } |