Disable power button shutdown

This commit is contained in:
GHOSCHT 2023-11-19 17:26:16 +01:00
parent 28060f5ed6
commit 549fdc8f8d

View file

@ -29,6 +29,11 @@
# programs.ssh.startAgent = true; # programs.ssh.startAgent = true;
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.enable = true; services.xserver.displayManager.sddm.enable = true;
# Configure keymap in X11 # Configure keymap in X11