diff --git a/modules/common.nix b/modules/common.nix index c79da17..84b9a8b 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -26,6 +26,11 @@ }; }; + # don’t shutdown when power button is short-pressed + services.logind.extraConfig = '' + HandlePowerKey=ignore + ''; + environment.systemPackages = with pkgs; [ git neofetch