diff options
Diffstat (limited to 'modules/tlp.nix')
| -rw-r--r-- | modules/tlp.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/tlp.nix b/modules/tlp.nix new file mode 100644 index 0000000..5606ab2 --- /dev/null +++ b/modules/tlp.nix @@ -0,0 +1,14 @@ +{ ... }: + +{ + powerManagement.cpuFreqGovernor = null; + services.power-profiles-daemon.enable = false; + services.tlp = { + enable = true; + settings = { + USB_BLACKLIST = "1d50:604b 1d50:6089 1d50:cc15 1fc9:000c"; + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + }; + }; +} |
