Deploy lyra via nixos-anywhere with the staged host key #20

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

Goal

Perform the actual nixos-anywhere deployment of lyra once the repo prep and pre-wipe backup are complete.

Acceptance Checklist

  • Stage the pre-generated host key under /tmp/lyra-extra/etc/ssh.
  • Run the nixos-anywhere install against nimmo@192.168.8.146.
  • Allow disko to repartition and install the system.
  • Confirm the machine reboots into NixOS.

Procedure Outline

  1. Build /tmp/lyra-extra with the pre-generated host key pair.
  2. Run:
nix run github:nix-community/nixos-anywhere -- \
  --flake /home/nimmo/nixos-config#lyra \
  --extra-files /tmp/lyra-extra \
  nimmo@192.168.8.146
  1. Wait for the kexec/install/reboot flow to complete.

Notes

This is the destructive cutover step. Do not start it until the backup issue is complete.

## Goal Perform the actual `nixos-anywhere` deployment of `lyra` once the repo prep and pre-wipe backup are complete. ## Acceptance Checklist - Stage the pre-generated host key under `/tmp/lyra-extra/etc/ssh`. - Run the `nixos-anywhere` install against `nimmo@192.168.8.146`. - Allow disko to repartition and install the system. - Confirm the machine reboots into NixOS. ## Procedure Outline 1. Build `/tmp/lyra-extra` with the pre-generated host key pair. 2. Run: ```bash nix run github:nix-community/nixos-anywhere -- \ --flake /home/nimmo/nixos-config#lyra \ --extra-files /tmp/lyra-extra \ nimmo@192.168.8.146 ``` 3. Wait for the kexec/install/reboot flow to complete. ## Notes This is the destructive cutover step. Do not start it until the backup issue is complete.
nimmo closed this issue 2026-07-11 12:31:32 +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#20
No description provided.