1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-14 16:53:39 +02:00

pc/laptop: remove redundant cpuFreqGovernor setting

This setting has been part of NixOS since version 16.09
This commit is contained in:
Erik Arvstedt 2020-05-20 16:29:50 +02:00
parent 4b129a0f71
commit 90868c67e8

View File

@ -3,11 +3,5 @@
{ {
imports = [ ../. ]; imports = [ ../. ];
# TODO: fix in NixOS/nixpkgs
# Disable governor set in hardware-configuration.nix,
# required when services.tlp.enable is true:
powerManagement.cpuFreqGovernor =
lib.mkIf config.services.tlp.enable (lib.mkForce null);
services.tlp.enable = lib.mkDefault true; services.tlp.enable = lib.mkDefault true;
} }