Flake + host restructure (ai-coding-box + disko + repo scaffolding) #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The machine config for the NUC coding station is loose files with a manual, error-prone install path (hand-copied configuration.nix, hand-generated hardware config, no versioned install flow). Also no repo hygiene: no secret-scan guard, no CI.
Approach: turn the directory into a flake repo — nixosConfigurations.ai-coding-box importing hosts/ai-coding-box/{default,disko,hardware-configuration}.nix (configuration.nix moved there; disko declares the disk layout). Hygiene: .gitignore (secrets/, result*, .superpowers/), pre-commit gitleaks, Forgejo CI on the zhuiri runner (gitleaks + nix flake check). Sequence: hygiene files → flake + host → CI workflow, verified with nix flake check at each step. Closes via the feat/installer-beacon PR.