From 5ebe70d6267932c6ec2ab8b9ec0dbe7c7997531a Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 4 Feb 2024 15:18:35 +0100 Subject: [PATCH] Adjust the tlp options for radio devices --- modules/services/tlp/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/services/tlp/default.nix b/modules/services/tlp/default.nix index 1931e08..28ae784 100644 --- a/modules/services/tlp/default.nix +++ b/modules/services/tlp/default.nix @@ -11,8 +11,9 @@ in services.tlp = { enable = true; settings = { - DEVICES_TO_DISABLE_ON_STARTUP = "wifi wwan"; - DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE = "bluetooth wifi wwan"; + DEVICES_TO_DISABLE_ON_LAN_CONNECT = "wifi"; + DEVICES_TO_ENABLE_ON_STARTUP = "bluetooth"; + DEVICES_TO_ENABLE_ON_UNDOCK = "wifi"; }; }; };