compat: fix logind settings config
This commit is contained in:
parent
f077fa9d3f
commit
916ef793da
1 changed files with 3 additions and 5 deletions
|
|
@ -31,11 +31,9 @@ in
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Power button settings
|
# Power button settings
|
||||||
services.logind = {
|
services.logind.settings.Login = {
|
||||||
extraConfig = ''
|
HandlePowerKey = "ignore";
|
||||||
HandlePowerKey=ignore
|
HandlePowerKeyLongPress = "poweroff";
|
||||||
HandlePowerKeyLongPress=poweroff
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue