mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 15:33:29 +01:00
common/pc/laptop: disable cpuFreqGovernor
This commit is contained in:
1 file changed
+5
@@ -7,5 +7,10 @@
|
|||||||
"vm.laptop_mode" = lib.mkDefault 5;
|
"vm.laptop_mode" = lib.mkDefault 5;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: fix in NixOS/nixpkgs
|
||||||
|
# Disable governor set in hardware-configuration.nix,
|
||||||
|
# required when services.tlp.enable is true:
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkForce null;
|
||||||
|
|
||||||
services.tlp.enable = lib.mkDefault true;
|
services.tlp.enable = lib.mkDefault true;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user