Skip to content
Colin23Public

About

Ths repository automates the setup of a new environment (e.g. a new Laptop)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Lint Docker Tests

Setup

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.


Quick Start

On a fresh machine

Follow docs/new-machine-setup.md — total time ~15–30 minutes, ~2 minutes of manual intervention.

On an existing machine (ongoing reconciliation)

./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 modules

Repository structure

setup/
├── 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

Documentation

Platform Support

  • Primary: Arch-based Linux
  • Secondary: Ubuntu / KDE Neon (some tools warn-only when not in apt)
  • Future: macOS

Inspiration

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.

About

Ths repository automates the setup of a new environment (e.g. a new Laptop)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages