diff options
Diffstat (limited to 'hosts')
-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. |