title: Evaluate nixos-configs repo structure

description:
# Research Goal
Evaluate the structure of nixos-configs to identify areas for improvement. The deliverable is a set of child beads—each containing prompts for deeper exploration and actionable improvement plans.

## Research Methodology
Use `/humanlayer:research_codebase_nt` pattern with parallel subagents:
- **codebase-locator**: Find files and components
- **codebase-analyzer**: Understand how code works
- **codebase-pattern-finder**: Find similar implementations and patterns

## Focus Areas (research all 7)

| Area | Questions to Answer |
|------|---------------------|
| **Flake Structure** | Is flake.nix well-organized? Are inputs minimal? Module composition clear? |
| **System Roles** | Roles properly scoped? Duplication? Consistent option patterns? |
| **Home-Manager Roles** | Clean separation from system roles? Reusable across platforms? |
| **Machine Configs** | Are machines DRY? Shared patterns extracted? Hardware abstractions clean? |
| **Custom Packages** | Packages well-structured? Overlay usage optimal? |
| **Cross-Platform** | Darwin/WSL/Steam Deck patterns consistent? Code reuse? |
| **Scripts & Utilities** | Flake apps organized? Automation opportunities? |

## Deliverables
1. **Summary of current state** for each focus area
2. **Child beads** for each area with improvement potential, containing:
   - Prompt: "Use `/humanlayer:research_codebase_nt` to analyze [specific aspect]"
   - Prompt: "Use `/humanlayer:create_plan_nt` to plan [specific improvement]"
3. **Recommended priority order** for addressing improvements

## Key Files to Analyze
- `flake.nix` (9.4KB) - Primary target
- `roles/default.nix` - System role patterns
- `home/roles/default.nix` - Home-manager role patterns
- `machines/*/configuration.nix` - Per-machine patterns
- `packages/default.nix` - Custom package overlay

status: open

issue_type: task

created_by: johno


title: When building the USB image, find a way to pre-run doom sync