diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-26 12:53:31 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-26 12:53:31 +0200 |
commit | c793059fa10ad72e1d5a19e977c03ef22e7434a1 (patch) | |
tree | c7ad2091384c8db6945ca491ea21f1510502d2fb /hosts/luna/default.nix | |
parent | Add luna host (diff) | |
download | nixos-config-c793059fa10ad72e1d5a19e977c03ef22e7434a1.tar.gz nixos-config-c793059fa10ad72e1d5a19e977c03ef22e7434a1.tar.bz2 nixos-config-c793059fa10ad72e1d5a19e977c03ef22e7434a1.zip |
Luna: Ignore power button short-press
Diffstat (limited to 'hosts/luna/default.nix')
-rw-r--r-- | hosts/luna/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix index c63c041..aeef70f 100644 --- a/hosts/luna/default.nix +++ b/hosts/luna/default.nix @@ -13,6 +13,10 @@ # Configure keymap in X11 xserver.layout = "gb"; fstrim.enable = true; + logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; }; # Pick only one of the below networking options. |