Add turnstile Emacs service and stable ssh-agent

This commit is contained in:
Fabio Scotto di Santolo
2026-04-10 13:32:03 +02:00
parent 7f82fc39d9
commit 5c57cce97c
18 changed files with 164 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
export SSH_AUTH_SOCK="$HOME/.local/state/ssh-agent/socket"
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
exec chpst -e "$TURNSTILE_ENV_DIR" emacs --fg-daemon
fi
exec emacs --fg-daemon