disable power button
This commit is contained in:
parent
bb464ba177
commit
68b5ece251
|
@ -6,4 +6,8 @@
|
|||
dbus.enable = true;
|
||||
fstrim.enable = true;
|
||||
};
|
||||
services.logind.extraConfig = ''
|
||||
# don’t shutdown when power button is short-pressed
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue