diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index ea649904..6a0035e2 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -150,6 +150,11 @@ networking.wireguard.interfaces = { }; + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; + # set laptop dpi services.xserver.dpi = 100;