Skip to content

Add pre-reinstall snapshot tagging tooling for kiosk-entryway #701

Description

@genebean

kiosk-gene-desk has a pre-reinstall tagging step in scripts/prep-install-bootstrap.sh that tags its last 5 restic snapshots as pre-reinstall before a disko/nixos-anywhere reinstall, protecting them from normal retention so a fresh install can restore from known-good pre-wipe state (see README.md's "Replacements" section for the full flow). genebean.services.kiosk-backups (added in PR #699) already gives kiosk-entryway the same backup/restore infrastructure (kiosk-restic-full-restore, the restic-forget-kiosk-pre-reinstall job, etc.) but not the tagging step itself, since prep-install-bootstrap.sh is written specifically for the disko/nixos-anywhere reinstall flow kiosk-entryway doesn't go through today.

This was explicitly called out as follow-up scope when genebean.services.kiosk-backups was extended to kiosk-entryway - the backup/restore half is in place, just not the tagging half.

Likely blocked on / worth doing together with #700 (kiosk-entryway impermanence rewrite) - if entryway ever does move to disko + nixos-anywhere, prep-install-bootstrap.sh could probably be generalized to work for both kiosks rather than writing separate tooling for entryway's current disk-config.nix-based setup.

🤖 Filed with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions