Skip to content

feat(nixos): add shared restic-backup module - #321

Merged
stackptr merged 7 commits into
mainfrom
glyph/restic-backup
Mar 7, 2026
Merged

stackptr merged 7 commits into
mainfrom
glyph/restic-backup

Conversation

@stackptr

@stackptr stackptr commented Mar 7, 2026

Copy link
Copy Markdown
Owner

feat(nixos): add shared restic-backup module

Extracts restic backup configuration into a reusable NixOS module with
shared R2 bucket, credentials, and default prune options. Paths are
configured per-host.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

refactor: move restic secrets to shared location

Move restic-env and restic-password secrets from hosts/spore/secrets/
to secrets/ so they can be shared across hosts. Update key definitions
to allow glyph, spore, and Rhizome to decrypt.

Requires agenix --rekey to re-encrypt with the updated key set.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

refactor(spore): migrate to shared restic-backup module

Replace inline restic configuration with the shared module. Backup
paths and prune defaults remain the same.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

feat(glyph): enable restic backup for basic-memory

Back up /var/lib/basic-memory to Cloudflare R2 using the shared
restic-backup module.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

stackptr and others added 4 commits March 6, 2026 23:41
Extracts restic backup configuration into a reusable NixOS module with
shared R2 bucket, credentials, and default prune options. Paths are
configured per-host.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move restic-env and restic-password secrets from hosts/spore/secrets/
to secrets/ so they can be shared across hosts. Update key definitions
to allow glyph, spore, and Rhizome to decrypt.

Requires `agenix --rekey` to re-encrypt with the updated key set.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace inline restic configuration with the shared module. Backup
paths and prune defaults remain the same.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Back up /var/lib/basic-memory to Cloudflare R2 using the shared
restic-backup module.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

stackptr commented Mar 7, 2026

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

stackptr and others added 3 commits March 6, 2026 23:49
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr
stackptr merged commit 8947e65 into main Mar 7, 2026
4 checks passed
This was referenced Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant