1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 19:39:42 +01:00

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 = [ ../. ]; 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;
} }