feat: unified launcher, multi-OS hardening, login alerts & auto-updates

Restructure around a single entry point (automations.sh) with a Gum wizard and
a self-extracting bundle for repo-less installs. Add scripts/oslib.sh so the
provisioning scripts (setup-host, harden-ssh, harden-jumphost, sshuser) run on
Alpine/Debian/Alma; seed root keys from globals/.
- ntfy SSH-login alerts (user, source IP, key, region, jump target) via pam_exec
- daily auto-updates: AUTO_REBOOT=idle reboots only when no SSH active; opt-in
  Alpine stable-branch upgrades (ALLOW_RELEASE_UPGRADE)
- cloud-init: generic base/jumphost + per-deployment, which harden SSH by
  default on fresh VMs
- pocket-id: optional WebFinger block (BASE_DOMAIN), tag v2.8.0
- headscale: fix oidc.expiry schema for 0.28 so the container starts
- Gitea release workflow on tag (TOKEN_GITEA); repo URLs -> Gitea
- README/LICENSE/.gitignore/.gitattributes (force LF)
This commit is contained in:
57_Wolve committed 2026-06-12 15:24:30 -05:00
1 parent 7faa9098de
commit 8fbeb8f6b0
15 files changed
+280 -195

No files matched your search

+9 -6
View File
@@ -1,8 +1,8 @@
# headscale config.yaml -- 0.28.0
#
# Placeholders __VAR__ are substituted at deploy time by deploy.sh from the
# values in .env. Don't set them here directly unless you're running
# headscale outside of the deploy script.
# Placeholder tokens (UPPER_SNAKE wrapped in double underscores) are
# substituted at deploy time by deploy.sh from the values in .env. Don't set
# them here directly unless you're running headscale outside the deploy script.
server_url: https://__HEADSCALE_DOMAIN__
listen_addr: 0.0.0.0:8080
@@ -56,6 +56,7 @@ dns:
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
split: {}
search_domains: []
extra_records: []
@@ -80,6 +81,8 @@ oidc:
# - tailscale-admins
# allowed_domains:
# - example.com
expiry:
from_authentication_path: false
refresh_period: 180d
# How long a node stays authenticated before re-auth is required. This is a
# duration scalar (not a map). use_expiry_from_token overrides it with the
# OIDC token's own expiry when true.
expiry: 180d
use_expiry_from_token: false