feat(hw): #58 nomarchy-detect-hw post-install re-probe CLI
All checks were successful
Check / eval (push) Successful in 2m52s

Package the installer’s pure hardware-db probe as nomarchy-detect-hw:
prints suggested hardwareProfile and system.nix snippets (or --raw
protocol lines). Does not rewrite the flake. On PATH via the distro
module; docs/HARDWARE.md §8 updated. Close #58.

Verified: V1 (build + run on AMD laptop with fingerprint/NPU/IR cam).
This commit is contained in:
Bernardo Magri
2026-07-10 08:41:18 +01:00
parent 35699f170f
commit 2ef0a8b710
7 changed files with 199 additions and 17 deletions

View File

@@ -77,15 +77,6 @@ last log lines + `nomarchy-doctor` instead of a raw Nix wall. Likely
home: menu rebuild wrapper and/or control-center path. Cost: medium
pkgs/menu; V1 + V2 smoke of the failure path (can force a bad eval).
### 58. `nomarchy-detect-hw` CLI (post-install re-probe)
HARDWARE.md §8. Installer already has pure `nomarchy_detect_hw` stdout
protocol (MODULE / NOMARCHY / DETAIL). Ship it as a package on PATH that
prints suggested `hardwareProfile = [ … ]` and `system.nix` snippets
without reinstalling — closes the template/migration gap and “I swapped
the WiFi card.” Does **not** rewrite the flake unless a later `--apply`
is explicitly designed. Cost: extract script + package + man/README
pointer; V0V1.
## LATER
- **Wallpapers artifact split** (ROADMAP § Faster switches — decided,
@@ -496,7 +487,8 @@ _(User password minimum length = 8 → #54.)_
#### Live ISO discoverability (one durable cue)
_(Live: one always-visible “Install Nomarchy” action → **#57**.)_
_(Live: one always-visible “Install Nomarchy” action → **#57** ✓ 2026-07-10;
V2 pending: live ISO desktop entry smoke.)_
#### Generated config / post-install polish

View File

@@ -17,6 +17,16 @@ Template:
---
## 2026-07-10 — #58 nomarchy-detect-hw CLI
- **Task:** NEXT #58 — post-install re-probe package (HARDWARE.md §8).
- **Did:** `pkgs/nomarchy-detect-hw` wrapping installers hardware-db;
human report + snippets + `--raw` protocol; overlay + systemPackages;
HARDWARE.md §8 updated. Closed #58.
- **Verified:** **V1** — package builds; ran on this AMD laptop: correct
MODULE/NOMARCHY lines (amd cpu/gpu, laptop, ssd, fingerprint, IR cam,
NPU) and printable system.nix snippets.
- **Next suggestion:** #55 fingerprint menu or #56 human rebuild errors.
## 2026-07-10 — #57 live Install Nomarchy affordance
- **Task:** NEXT #57 — durable live-ISO install surface (not only toast).
- **Did:** `xdg.desktopEntries.nomarchy-install` (Terminal=true) on live