diff options
| author | Christian <[email protected]> | 2026-05-30 11:29:21 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-05-30 11:29:21 -0500 |
| commit | 4669d60345bb78f7aaec433796e437c38dcb09da (patch) | |
| tree | e21754418f34a45be3b854d9996d7c3f9cb3d100 /hosts/laptop/configuration.nix | |
| parent | b843b40c75393ebb14b150fdd5b341c4108cfec8 (diff) | |
Ignore power key events in logind to prevent spurious shutdown on hibernate resume
Diffstat (limited to 'hosts/laptop/configuration.nix')
| -rw-r--r-- | hosts/laptop/configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index a2030fe..c9978b7 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -45,6 +45,11 @@ hibernate = "systemctl hibernate"; }; + services.logind = { + powerKey = "ignore"; + powerKeyLongPress = "ignore"; + }; + services.keyd = { enable = true; keyboards.default = { |
