Merge pull request #169 from erikarvstedt/improve-laptop-preset

This commit is contained in:
Jörg Thalheim
2020-05-20 15:35:48 +01:00
committed by GitHub

View File

@@ -3,11 +3,5 @@
{
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;
}