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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user