chore: suspend powerKey
This commit is contained in:
parent
8b9b00f33b
commit
ffd6f6e9c6
1 changed files with 4 additions and 1 deletions
|
@ -90,11 +90,14 @@
|
||||||
networking.hostName = "Tibo-NixFat";
|
networking.hostName = "Tibo-NixFat";
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Handle the laptop lid switch as follows:
|
|
||||||
logind = {
|
logind = {
|
||||||
|
# Handle the laptop lid switch as follows:
|
||||||
lidSwitch = "hybrid-sleep";
|
lidSwitch = "hybrid-sleep";
|
||||||
lidSwitchExternalPower = "lock";
|
lidSwitchExternalPower = "lock";
|
||||||
lidSwitchDocked = "ignore";
|
lidSwitchDocked = "ignore";
|
||||||
|
|
||||||
|
# Handle the power key
|
||||||
|
powerKey = "suspend";
|
||||||
};
|
};
|
||||||
|
|
||||||
xserver.xkb = {
|
xserver.xkb = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue