use schedutil for powermanagement
This commit is contained in:
parent
ec3a71a90a
commit
4f6642c210
|
@ -290,6 +290,12 @@ in
|
||||||
systemd.targets.hibernate.enable = false;
|
systemd.targets.hibernate.enable = false;
|
||||||
systemd.targets.hybrid-sleep.enable = false;
|
systemd.targets.hybrid-sleep.enable = false;
|
||||||
|
|
||||||
|
# power management
|
||||||
|
powerManagement = {
|
||||||
|
enable = true;
|
||||||
|
cpuFreqGovernor = "schedutil";
|
||||||
|
};
|
||||||
|
|
||||||
# allow unfree packages
|
# allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue