diff --git a/hosts/configuration.nix b/hosts/configuration.nix index cce9cbf..da1445b 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -29,6 +29,11 @@ # programs.ssh.startAgent = true; + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; + # Enable the KDE Plasma Desktop Environment. services.xserver.displayManager.sddm.enable = true; # Configure keymap in X11