nixconfigs/packages/default.nix
Trolli Schmittlauch a23072866f hosts/framenix: reduce power consumption with proper PPD CPU + ABM
- patch PPD to properly set the powersave level for the spu as well
- enable adaptive backlight management at lowest level

inspired by 1cbeaa156b/packages/default.nix
2024-02-12 19:32:19 +01:00

13 lines
367 B
Nix

final: prev: {
power-profiles-daemon = prev.power-profiles-daemon.overrideAttrs (old: {
patches = [
# patch for AMD pstate CPUs
(final.fetchpatch {
url = "https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127.patch";
sha256 = "sha256-CneqixlpZx9iZ0PM5MFIutsvnqKrLlM7FHOHUA/MK6g=";
})
];
});
}