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;
|
||||
|
||||
# Power button settings
|
||||
services.logind = {
|
||||
extraConfig = ''
|
||||
HandlePowerKey=ignore
|
||||
HandlePowerKeyLongPress=poweroff
|
||||
'';
|
||||
services.logind.settings.Login = {
|
||||
HandlePowerKey = "ignore";
|
||||
HandlePowerKeyLongPress = "poweroff";
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue