Disable power button shutdown
This commit is contained in:
parent
28060f5ed6
commit
549fdc8f8d
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@
|
||||||
|
|
||||||
# programs.ssh.startAgent = true;
|
# programs.ssh.startAgent = true;
|
||||||
|
|
||||||
|
services.logind.extraConfig = ''
|
||||||
|
# don’t 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
|
||||||
|
|
Loading…
Reference in a new issue