diff --git a/hosts/dumpyourvms/dumpyourvms.nix b/hosts/dumpyourvms/dumpyourvms.nix index e86f05fd..bb31446e 100644 --- a/hosts/dumpyourvms/dumpyourvms.nix +++ b/hosts/dumpyourvms/dumpyourvms.nix @@ -27,7 +27,7 @@ in boot.kernelParams = [ "acpi_backlight=video" "hid_apple.fnmode=2" - "intel_pstate=passive" + "intel_pstate=active" "radeon.si_support=0" "amdgpu.si_support=1" ]; @@ -108,11 +108,6 @@ in hardware.keyboard.uhk.enable = true; powerManagement = { - # Use new schedutil govenor - # https://github.com/NixOS/nixpkgs/pull/42330 - # https://www.kernel.org/doc/html/v5.10/admin-guide/pm/cpufreq.html#schedutil - cpuFreqGovernor = lib.mkDefault "schedutil"; - # brcmfmac being loaded during hibernation would inhibit a successful resume # https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116. # Also brcmfmac could randomly crash on resume from sleep. @@ -141,16 +136,8 @@ in # Change lid switch behaviour services.logind.lidSwitch = "hibernate"; - # TLP for power management - services.tlp = { - enable = true; - settings = { - CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "schedutil"; - CPU_BOOST_ON_AC = 1; - CPU_BOOST_ON_BAT = 0; - }; - }; + # Power management + services.power-profiles-daemon.enable = true; services.udev.extraRules = # Disable XHC1 wakeup signal to avoid resume getting triggered some time