Work Machine
A work profile lives alongside your personal profile in the same repo. It can share tools and common config while overriding anything specific to your work context.
profile.env
Section titled “profile.env”Override variables for the work context:
DOTKIT_DEV_DIR="~/work"GITHUB_ORG=acmeThese override anything set in dotkit.env for the duration of this profile’s run.
Work-specific packages
Section titled “Work-specific packages”A work brew.md can install tools your personal machine doesn’t need:
# Work packages
## map
- brew install **1**- awscli- terraform- kubectl
## map
- brew install --cask **1**- zoom- slack- dockerWork git config
Section titled “Work git config”Point repos at your org and use a work email:
WORK_DIR=$DOTKIT_DEV_DIRGITHUB_ORG=acmemap git config --global {{key}} {{value}}user.email = [email protected]---map git clone [email protected]:{{key}}/{{2}}.git $WORK_DIR/{{2}}#acme = backend#acme = frontendSelecting the work profile
Section titled “Selecting the work profile”During bootstrap, the installer lists available profiles and prompts for selection:
Available profiles: 1) personal 2) work
Select a profile [number or name]: 2Or pass it directly:
curl -fsSL dotkit.run/sh | sh -s -- --username yourname --profile work --defaults