From 96138c4c0bc8e6b1eab58d5ca9be9337a02a4504 Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek Date: Sat, 25 Nov 2023 14:21:30 +0100 Subject: [PATCH] feat: suspend on lid switch on laptop phobos --- hosts/laptop-phobos/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/laptop-phobos/default.nix b/hosts/laptop-phobos/default.nix index 6395e59..54fd2fb 100644 --- a/hosts/laptop-phobos/default.nix +++ b/hosts/laptop-phobos/default.nix @@ -90,7 +90,7 @@ services = { # tlp.enable = true; # TLP and auto-cpufreq for power management # auto-cpufreq.enable = true; - logind.lidSwitch = "lock"; # lock on lid close + logind.lidSwitch = "suspend"; # suspend on lid close xserver.libinput = { enable = true; -- 2.48.1