From bc3e2e648f0b97e773b4602cb07dde0964601c76 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 8 Dec 2024 18:30:58 +0100 Subject: [PATCH] xps16/tlp: add some recommended settings from arch wiki --- hosts/xps16/services/tlp.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/xps16/services/tlp.nix b/hosts/xps16/services/tlp.nix index 097e7bc..f48bd16 100644 --- a/hosts/xps16/services/tlp.nix +++ b/hosts/xps16/services/tlp.nix @@ -1,4 +1,11 @@ { ... }: { - services.tlp.enable = true; + services.tlp = { + enable = true; + settings = { + RUNTIME_PM_ON_AC = "auto"; + RUNTIME_PM_ON_BAT = "auto"; + USB_AUTOSUSPEND = "0"; + }; + }; }