Add storage mode migration: internal NVMe vs USB flash, Settings tab, fix hardcoded /boot/ paths

This commit is contained in:
Gmer4Lfe
2026-06-03 17:40:35 -04:00
parent e9ea67ec14
commit 0cb429222a
10 changed files with 661 additions and 7 deletions
+12
View File
@@ -68,6 +68,18 @@
#
# ==============================================================================================
# ==============================================================================================
# ── STORAGE MODE ──────────────────────────────────────────────────────────────────────────────
# ==============================================================================================
# ━━━ Storage mode ━━━
# Controls where Varaverk stores scripts, conf, and state files.
# true = internal NVMe/SSD — /boot/config/plugins/varaverk (write-safe, git-direct)
# false = USB flash boot — /mnt/user/appdata/Varaverk (preserves flash lifetime)
# Auto-detected from boot device transport on first setup.
# To change: Settings → Storage → Migrate.
HOSTN_STORAGE_MODE_INTERNAL=true
# ==============================================================================================
# ── IDENTITY & CONNECTIVITY ───────────────────────────────────────────────────────────────────
# ==============================================================================================