feat(doctor): first-boot pre-activate fail flag (#83)
Some checks failed
Check / eval (push) Has been cancelled
Some checks failed
Check / eval (push) Has been cancelled
If the installer left /var/log/nomarchy-hm-preactivate.log and no Home Manager generation exists, doctor reports ✖ with the recovery one-liner (home-manager switch --flake ~/.nomarchy -b bak). Clears once a generation is present. checks.doctor covers both arms. Verified: V2 — checks.doctor green; local smoke.
This commit is contained in:
@@ -19,6 +19,17 @@ Template:
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-11 — #83 doctor first-boot pre-activate flag
|
||||
- **Task:** NEXT #83 — doctor points at failed installer HM pre-activate.
|
||||
- **Did:** doctor row: if `/var/log/nomarchy-hm-preactivate.log` is present
|
||||
and no Home Manager generation exists → ✖ +
|
||||
`home-manager switch --flake ~/.nomarchy -b bak`. Skip/ok otherwise.
|
||||
Extended `checks.doctor` (fail arm + recovered gen). Closed #83.
|
||||
- **Verified:** **V2** — checks.doctor green (fail arm + recovered gen);
|
||||
local smoke with NOMARCHY_HM_PREACTIVATE_LOG / empty HOME.
|
||||
- **Pending:** —
|
||||
- **Next suggestion:** #85 docs hall of fame (cheap) or split #84 dock.
|
||||
|
||||
## 2026-07-11 — #82 generation readability
|
||||
- **Task:** NEXT #82 — plain-language “what changed last rebuild”.
|
||||
- **Did:** `pkgs/nomarchy-what-changed` (nvd → “N added, M removed, K
|
||||
|
||||
Reference in New Issue
Block a user