From fdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 31 Jul 2018 18:50:40 +0200 Subject: hybrid-sleep & cgmanager --- hel.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hel.nix') diff --git a/hel.nix b/hel.nix index eb1b5ba4..877d803b 100644 --- a/hel.nix +++ b/hel.nix @@ -140,8 +140,7 @@ }; logind.extraConfig = '' - HandleLidSwitch=sleep - HandleSuspendKey=sleep + HandleLidSwitch=hybrid-sleep LidSwitchIgnoreInhibited=no ''; @@ -316,6 +315,8 @@ }) ]; }; + + cgmanager.enable = true; }; systemd.services."gpsd".wants = [ "chronyd.service" ]; -- cgit v1.2.3