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
parent 6f1ac14852
commit 276c08529a
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
1 changed files with 1 additions and 1 deletions

View File

@ -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