mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 08:33: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 = {
|
||||||
# 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;
|
||||||
|
|
Loading…
Reference in a new issue