use --target-host for remote deploys
This commit is contained in:
parent
fca1bd9d8f
commit
49f82a3434
12 changed files with 216 additions and 495 deletions
|
|
@ -234,21 +234,6 @@ efi /EFI/Microsoft/Boot/bootmgfw.efi
|
|||
|
||||
# Nix Infrastructure & Automation Improvements
|
||||
|
||||
- [ ] **Replace deployment scripts with [`deploy-rs`](https://github.com/serokell/deploy-rs)** for declarative, hands-off host updates.
|
||||
Remove manual `deploy_linode`/`deploy_oracle` scripts. Use `deploy-rs` to apply updates across one or all hosts, including remote builds.
|
||||
- [ ] **Add `isoImage` outputs for every host for instant USB/boot media creation.**
|
||||
Use:
|
||||
|
||||
```
|
||||
packages.x86_64-linux.install-iso = nixosConfigurations.<host>.config.system.build.isoImage;
|
||||
```
|
||||
|
||||
Then:
|
||||
|
||||
```
|
||||
nix build .#packages.x86_64-linux.install-iso
|
||||
```
|
||||
|
||||
- [ ] **Document or automate new host bootstrap:**
|
||||
- Script or steps: boot custom ISO, git clone config, secrets onboarding (agenix), nixos-install with flake config.
|
||||
- Provide an example shell script or README note for a single-command initial setup.
|
||||
|
|
@ -258,7 +243,6 @@ efi /EFI/Microsoft/Boot/bootmgfw.efi
|
|||
- [ ] **Remote build reliability:**
|
||||
- Parametrize/automate remote builder enable/disable.
|
||||
- Add quickstart SSH builder key setup instructions per-host in README.
|
||||
- (Optional) Use deploy-rs's agent forwarding and improve errors if builder can't be reached at deploy time.
|
||||
- [ ] **Add [disko](https://github.com/nix-community/disko) to declaratively manage disk/partition creation for new installs and reinstalls.**
|
||||
|
||||
- work on secrets pre ragenix, stormd pre install for all the above bootstrapping steps would be ideal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue