diff options
| author | Grigory Shipunov | 2022-05-29 05:00:18 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-05-29 05:00:18 +0200 |
| commit | c179092b119cb2a4d6713a3392a45e229ecf8dad (patch) | |
| tree | 3ea5d6d8208bd5576abdc8a0b0e1ff521d728c24 | |
| parent | 1e72e8acca7ce5813cb77d8bf0bc9e00900cea0f (diff) | |
tlp: update to new options
| -rw-r--r-- | modules/tlp.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/tlp.nix b/modules/tlp.nix index 20d1ddc..4310e74 100644 --- a/modules/tlp.nix +++ b/modules/tlp.nix @@ -3,8 +3,10 @@ { 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" -''; + services.tlp ={ + enable = true; + settings = { + USB_BLACKLIST="1d50:604b 1d50:6089 1d50:cc15 1fc9:000c"; + }; + }; } |
