diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index f295e0e7..e98a9c3e 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -107,6 +107,12 @@ }; }; + # laptop :( + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; + # Enable CUPS to print documents. # services.printing.enable = true;