bare-metal: configure power button to suspend on short press
Alan Pearce alan@alanpearce.eu
Wed, 31 Aug 2022 15:28:06 +0200
1 files changed, 3 insertions(+), 0 deletions(-)
M system/settings/hardware/bare-metal.nix → system/settings/hardware/bare-metal.nix
@@ -14,6 +14,9 @@ services.logind = { extraConfig = '' IdleAction=suspend IdleActionSec=1800 + HandlePowerKey=suspend + HandlePowerKeyLongPress=poweroff + PowerKeyIgnoreInhibited=yes ''; }; services.udev.extraRules = ''