diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/hardware/bare-metal.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/settings/hardware/bare-metal.nix b/system/settings/hardware/bare-metal.nix index a60524c7..ce8e57e2 100644 --- a/system/settings/hardware/bare-metal.nix +++ b/system/settings/hardware/bare-metal.nix @@ -14,6 +14,9 @@ extraConfig = '' IdleAction=suspend IdleActionSec=1800 + HandlePowerKey=suspend + HandlePowerKeyLongPress=poweroff + PowerKeyIgnoreInhibited=yes ''; }; services.udev.extraRules = '' |