Configure behavior for closing laptop lid.
This commit is contained in:
parent
b3c9c2bf03
commit
082ed3c097
3 changed files with 8 additions and 8 deletions
6
roles/laptop.nix
Normal file
6
roles/laptop.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue