use schedutil for powermanagement

This commit is contained in:
Christoph Cullmann 2024-10-13 20:24:58 +02:00
parent ec3a71a90a
commit 4f6642c210
No known key found for this signature in database

View file

@ -290,6 +290,12 @@ in
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
# power management
powerManagement = {
enable = true;
cpuFreqGovernor = "schedutil";
};
# allow unfree packages
nixpkgs.config.allowUnfree = true;