power: keep wayback awake lid-closed (never-sleep)

wayback runs as an always-on router living lid-closed in the van, but
stock logind HandleLidSwitch=suspend would sleep it on lid close (even
on AC). Add a logind drop-in that ignores the lid in all states and
mask every sleep target so idle/GUI/stray `systemctl suspend` can't
suspend it either.

- power/10-vanlink-nolid.conf -> /etc/systemd/logind.conf.d/
- deploy.sh: install drop-in, mask sleep/suspend/hibernate/hybrid-sleep,
  restart systemd-logind
- README: power/ layout row, never-sleep operation notes + reversal recipe

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Andreas Wrede
2026-06-28 21:16:59 -04:00
co-authored by Claude Opus 4.8
parent 387375de1e
commit 35466f0141
3 changed files with 32 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
[Login]
# wayback is an always-on router living lid-closed in the van.
# Default logind suspends on lid close (incl. on AC); ignore the lid in every state.
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore