mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
Merge pull request #34350 from Ma27/fix-powermanagement-default
nixos/powerManagement: set `cpuFreqGovernor` with `mkOptionDefault`
This commit is contained in:
commit
50dda062d8
@ -70,7 +70,7 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
# Leftover for old setups, should be set by nixos-generate-config now
|
# Leftover for old setups, should be set by nixos-generate-config now
|
||||||
powerManagement.cpuFreqGovernor = mkDefault "ondemand";
|
powerManagement.cpuFreqGovernor = mkOptionDefault "ondemand";
|
||||||
|
|
||||||
systemd.targets.post-resume = {
|
systemd.targets.post-resume = {
|
||||||
description = "Post-Resume Actions";
|
description = "Post-Resume Actions";
|
||||||
|
Loading…
Reference in New Issue
Block a user