This commit is contained in:
Grigory Shipunov 2022-05-25 19:27:42 +02:00
commit a953246971
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
17 changed files with 795 additions and 0 deletions

10
modules/tlp.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
powerManagement.cpuFreqGovernor = null;
services.power-profiles-daemon.enable = false;
services.tlp.enable = true;
services.tlp.extraConfig = ''
USB_BLACKLIST="1d50:604b 1d50:6089 1d50:cc15 1fc9:000c"
'';
}