diff options
| author | Grigory Shipunov | 2022-05-25 19:27:42 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-05-25 19:27:42 +0200 |
| commit | a9532469718f53912a66073dfae12a5bcf8e7ffa (patch) | |
| tree | b35755f1a07b3d9798f12d5329c83f97145b5800 /modules/tlp.nix | |
init
Diffstat (limited to 'modules/tlp.nix')
| -rw-r--r-- | modules/tlp.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/tlp.nix b/modules/tlp.nix new file mode 100644 index 0000000..20d1ddc --- /dev/null +++ b/modules/tlp.nix @@ -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" +''; +} |
