From 8afe7db52f162060c694ba18bdfb74567c37c0c0 Mon Sep 17 00:00:00 2001 From: twoneis Date: Thu, 3 Oct 2024 21:51:50 +0200 Subject: [PATCH] suspend on power key --- modules/niri/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/niri/default.nix b/modules/niri/default.nix index bb01068..f7e2c3f 100644 --- a/modules/niri/default.nix +++ b/modules/niri/default.nix @@ -40,7 +40,7 @@ in { }; services.logind = { - powerKey = "ignore"; + powerKey = "suspend"; powerKeyLongPress = "poweroff"; lidSwitch = "suspend"; lidSwitchDocked = "suspend";