For pre-commit secret scanning, set up Gitleaks:
Assuming you use Mise and UV for Python:
# install pre-commit and gitleaks
uv tool install pre-commit
brew install gitleaks
# set up pre-commit hook
pre-commit install
# try git leaks
gitleaks dir . --verboseRun setup.sh
./setup.shOr run the scripts per demand
# Install basics, eg. git
./scripts/setup-basics.sh
# Clone config repo and setup
# Note: needs ssh set up if the repo is private
./scripts/setup-configs.sh
# MacOS preferences - dock, animations, toolbar, etc.
./scripts/setup-macos.shUses GNU Stow for dotfile management.
Using Homebrew
# Create Brewfile with installed packages
brew bundle dump --describe
# Check validity
brew bundle check --file=Brewfile.personal
# Install packages on a new machine
brew bundle --file=./Brewfile.personal
brew bundle install --file=Brewfile.personal
# Dry-run cleanup
brew bundle cleanup --file=Brewfile.personal- macOS: scriptify switching ctrl & fn
- macOS: icloud sync
- repos: clone most important repos (eg. obsidian repos)
- scripts: ssh creation