Disable laptop sleep when lid closed and connected to power

This commit is contained in:
Agatha Lovelace 2023-07-27 20:37:12 +02:00
rodič 6f1ac14852
revize 276c08529a
Podepsáno: sorceress
ID GPG klíče: 01D0B3AB10CED4F8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -54,7 +54,7 @@
};
# Don't suspend when closed and plugged into power
services.logind.lidSwitchExternalPower = "ignore";
services.logind.lidSwitchExternalPower = "lock";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions