base: improve logind config

This commit is contained in:
Aly Raffauf 2024-08-02 19:02:10 -04:00
parent f6dc15a157
commit 9f58f2bb5e

View file

@ -60,11 +60,15 @@ self: {lib, ...}: {
}; };
}; };
logind.extraConfig = '' logind = {
# Don't shutdown when power button is short-pressed powerKey = "suspend";
HandlePowerKey=suspend powerKeyLongPress = "poweroff";
HandlePowerKeyLongPress=poweroff extraConfig = ''
''; # Don't shutdown when power button is short-pressed
HandlePowerKey=suspend
HandlePowerKeyLongPress=poweroff
'';
};
openssh = { openssh = {
enable = true; enable = true;