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
commit 2f2c2d9ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}