From f63b229cd840a84cce0927105348208368f5217d Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 21 Jun 2024 16:24:38 -0400 Subject: [PATCH] rustboro: enable powertop --- hosts/rustboro/hardware.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/rustboro/hardware.nix b/hosts/rustboro/hardware.nix index 6fff79f1..8e7fe474 100644 --- a/hosts/rustboro/hardware.nix +++ b/hosts/rustboro/hardware.nix @@ -30,8 +30,10 @@ kernelModules = ["kvm-intel"]; }; - # Otherwise, CPU doesn't automatically clock down. - powerManagement.cpuFreqGovernor = "ondemand"; + powerManagement = { + cpuFreqGovernor = "ondemand"; # Otherwise, CPU doesn't automatically clock down. + powertop.enable = true; + }; nixpkgs = { config.packageOverrides = pkgs: {