From adca4cf7d99908e7d4555e6d2d60eefaeeaf95b5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 7 May 2023 09:08:43 -0700 Subject: profiles/laptop: more tweaks --- profiles/laptop.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/laptop.nix b/profiles/laptop.nix index 7fd5b98..9ae1742 100644 --- a/profiles/laptop.nix +++ b/profiles/laptop.nix @@ -4,10 +4,11 @@ ./workstation.nix ]; + services.logind.lidSwitch = "suspend-then-hibernate"; + services.upower.enable = true; services.thermald.enable = true; services.tlp.enable = true; - services.tlp.settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; -- cgit 1.4.1