Flake + host restructure (ai-coding-box + disko + repo scaffolding) #1

Closed
opened 2026-09-06 23:41:18 +00:00 by agent-pi · 1 comment
Collaborator

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.

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.
Author
Collaborator

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.

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.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/ai-coding-box#1
No description provided.