modules.system.systemd: disable lid switch causing suspend

This commit is contained in:
2026-01-03 14:31:19 +08:00
parent 73a1490fed
commit c0c8bc3704

View File

@@ -3,7 +3,11 @@ inputs:
config =
{
# only preserve the last 7 days of logs
services.journald.extraConfig = "MaxRetentionSec=7d";
services =
{
journald.extraConfig = "MaxRetentionSec=7d";
logind.settings.Login.HandleLidSwitch = "ignore";
};
systemd =
{
settings.Manager =