mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
base: improve logind config
This commit is contained in:
parent
f6dc15a157
commit
9f58f2bb5e
|
@ -60,11 +60,15 @@ self: {lib, ...}: {
|
|||
};
|
||||
};
|
||||
|
||||
logind.extraConfig = ''
|
||||
logind = {
|
||||
powerKey = "suspend";
|
||||
powerKeyLongPress = "poweroff";
|
||||
extraConfig = ''
|
||||
# Don't shutdown when power button is short-pressed
|
||||
HandlePowerKey=suspend
|
||||
HandlePowerKeyLongPress=poweroff
|
||||
'';
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue