Configure behavior for closing laptop lid.

This commit is contained in:
Nolan Darilek 2025-02-24 15:51:20 -06:00
parent b3c9c2bf03
commit 082ed3c097
3 changed files with 8 additions and 8 deletions

6
roles/laptop.nix Normal file
View file

@ -0,0 +1,6 @@
{
services.logind = {
lidSwitch = "suspend-then-hibernate";
lidSwitchExternalPower = "ignore";
};
}