A repo-driven machine setup system that bootstraps and continuously reconciles a developer environment. The repository is the single source of truth for desired machine state.
Running setup is safe, repeatable, and convergent: each run brings the machine closer to the declared state, and a
second run is a no-op.
This module is intended to be run locally on the target machine. Running it over an active SSH session is unsupported:
ufw enable with default-deny incoming can drop the session in edge cases where conntrack does not preserve the
established connection.
Follow docs/new-machine-setup.md — total time ~15–30 minutes, ~2 minutes of manual intervention.
./run # full run
./run --skip firewall # skip firewall (e.g. on managed work laptops)
./run --dry-run # preview without changes
./run --only shell # run only matching modulessetup/
├── run main entrypoint
├── lib/common shared helper library
├── runs/NN-name modules, executed in numeric order
├── scripts/lint static analysis (ShellCheck + shfmt)
├── tests/ Docker smoke tests
└── docs/ documentation
- architecture.md — how the system works (runner, modules, two-repo strategy)
- new-machine-setup.md — step-by-step bootstrap on a fresh laptop
- contributing.md — adding tools, updating dotfiles, changing employers, testing
- tool-inventory.md — canonical catalog of all tools and how they're installed
- Primary: Arch-based Linux
- Secondary: Ubuntu / KDE Neon (some tools warn-only when not in apt)
- Future: macOS
The shape of this repo was originally inspired by ThePrimeagen's dev repo. It has since diverged significantly to support multiple Linux distros, a private dotfiles repo, and an ArgoCD-style reconciliation model.