From ecf60cb4d5150b2ffd6a15ea317e7dec68a8a15f Mon Sep 17 00:00:00 2001 From: Jet Pham Date: Wed, 11 Mar 2026 13:24:39 -0700 Subject: [PATCH] feat: allow suspend on powerkey and remove comment --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 8c7cb79..9405013 100644 --- a/configuration.nix +++ b/configuration.nix @@ -162,13 +162,13 @@ }; # Power management for laptop - # Configure lid switch behavior - suspend (no swap needed with 96GB RAM) services.logind = { settings = { Login = { HandleLidSwitch = "suspend"; HandleLidSwitchExternalPower = "suspend"; HandleLidSwitchDocked = "ignore"; + HandlePowerKey = "suspend"; }; }; };