feat: allow suspend on powerkey and remove comment
This commit is contained in:
parent
237277ac5b
commit
ecf60cb4d5
1 changed files with 1 additions and 1 deletions
|
|
@ -162,13 +162,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Power management for laptop
|
# Power management for laptop
|
||||||
# Configure lid switch behavior - suspend (no swap needed with 96GB RAM)
|
|
||||||
services.logind = {
|
services.logind = {
|
||||||
settings = {
|
settings = {
|
||||||
Login = {
|
Login = {
|
||||||
HandleLidSwitch = "suspend";
|
HandleLidSwitch = "suspend";
|
||||||
HandleLidSwitchExternalPower = "suspend";
|
HandleLidSwitchExternalPower = "suspend";
|
||||||
HandleLidSwitchDocked = "ignore";
|
HandleLidSwitchDocked = "ignore";
|
||||||
|
HandlePowerKey = "suspend";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue