# systemd logind configuration for headless server operation
# Deploy: sudo cp config/systemd/01-server-logind.conf /etc/systemd/logind.conf.d/

[Login]
# Disable all power management triggers for headless server
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

# Prevent automatic suspend/hibernate
IdleAction=ignore

# Keep the system running even when no users are logged in
KillUserProcesses=no