Prepare lyra SOPS bootstrap and validate the repo for deployment #18

Closed
opened 2026-07-01 16:16:59 +01:00 by nimmo · 0 comments
Owner

Goal

Finish the repo-side preparation needed before wiping and deploying lyra via nixos-anywhere.

Acceptance Checklist

  • Generate the dedicated SSH host key for lyra.
  • Add the printed age public key to .sops.yaml.
  • Add *lyra to the relevant SOPS creation rule group.
  • Re-encrypt the relevant secrets.
  • Stage the new tracked files before validation.
  • Run nix flake check successfully for the updated config.

Procedure Outline

  1. Generate /tmp/lyra_ssh_host_ed25519_key and derive the age recipient.
  2. Update .sops.yaml.
  3. Run sops updatekeys secrets/secrets.yaml.
  4. Stage hosts/lyra, secrets/secrets.yaml, and .sops.yaml.
  5. Run the usual filtered nix flake check.

Notes

This issue covers the repo-prep section of projects/lyra-nixos-anywhere-deploy.md and must finish before any destructive deploy step.

## Goal Finish the repo-side preparation needed before wiping and deploying `lyra` via `nixos-anywhere`. ## Acceptance Checklist - Generate the dedicated SSH host key for `lyra`. - Add the printed age public key to `.sops.yaml`. - Add `*lyra` to the relevant SOPS creation rule group. - Re-encrypt the relevant secrets. - Stage the new tracked files before validation. - Run `nix flake check` successfully for the updated config. ## Procedure Outline 1. Generate `/tmp/lyra_ssh_host_ed25519_key` and derive the age recipient. 2. Update `.sops.yaml`. 3. Run `sops updatekeys secrets/secrets.yaml`. 4. Stage `hosts/lyra`, `secrets/secrets.yaml`, and `.sops.yaml`. 5. Run the usual filtered `nix flake check`. ## Notes This issue covers the repo-prep section of `projects/lyra-nixos-anywhere-deploy.md` and must finish before any destructive deploy step.
nimmo closed this issue 2026-07-11 12:31:28 +01:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#18
No description provided.