disk-health plan: deploy via committed master + doas (per CLAUDE.md)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-24 18:59:39 -07:00
co-authored by Claude Opus 5.5
parent 85d5631fa8
commit c12b2adbfd
+4
View File
@@ -198,6 +198,10 @@ emit** before merging (run a `curl` of each `/metrics`).
only shortens time-to-notice. only shortens time-to-notice.
## 6. Deploy notes ## 6. Deploy notes
- **Commit first.** `rebuild-nixos` deploys committed `master` only;
uncommitted changes are never deployed. NixOS hosts use **`doas`**, not sudo
(see `CLAUDE.md`). A per-host dry run is
`nixos-rebuild build --flake .#<host>`.
- **rebuild-nixos:** runs root `nixos-rebuild switch --flake .` from `/etc/nixos` - **rebuild-nixos:** runs root `nixos-rebuild switch --flake .` from `/etc/nixos`
(a clone of `~/src/nixos`, remote `local`). Pull first, and watch for the (a clone of `~/src/nixos`, remote `local`). Pull first, and watch for the
"hadn't pulled master" race. "hadn't pulled master" race.