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
|
||||
# Configure lid switch behavior - suspend (no swap needed with 96GB RAM)
|
||||
services.logind = {
|
||||
settings = {
|
||||
Login = {
|
||||
HandleLidSwitch = "suspend";
|
||||
HandleLidSwitchExternalPower = "suspend";
|
||||
HandleLidSwitchDocked = "ignore";
|
||||
HandlePowerKey = "suspend";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue