My personal dotfiles, managed with GNU Stow.
bash <(curl -fsSL https://raw.githubusercontent.com/cedi/dotfiles/main/install_macos.sh)This handles everything: Xcode CLI tools, Homebrew, git, cloning the repo, and runs the interactive installer.
Already have the repo cloned?
cd ~/.dotfiles
./install_macos.shSplit into components for flexibility:
| File | Contents |
|---|---|
.Brewfile.core |
Shell, editor, git, k8s tools, cloud CLIs |
.Brewfile.extras |
Media tools, networking, build tools |
.Brewfile.vscode |
VS Code extensions |
.Brewfile |
All of the above |
- Fish as primary shell with modular
conf.d/config - Oh My Posh prompt with custom theme
- zsh config also included
- Neovim with LazyVim
Language runtimes are handled by mise instead of Homebrew for easier version management:
- Node.js
- Python
- Go
- Rust
- Terraform
Global defaults in .config/mise/config.toml, override per-project with .mise.toml.
Git-Tool is installed from source with Cargo during full/core setup once Rust is available. Its config lives in .config/git-tool/git-tool.yml, with GITTOOL_CONFIG exported by the shell config and gt set up as an alias.
The installer presents a menu:
1) Full installation (recommended for new machines)
2) Core tools only (shell, git, editor, k8s, cloud)
3) Extras only (media, networking, build tools)
4) Custom (choose components)
5) Exit
For automation/CI:
./install_macos.sh --yescd ~/.dotfiles
./install_linux.sh
stow .main is what the one-line installers download, so changes get checked before they land there. Three layers, each runnable locally:
mise run ci # static: shellcheck, fish/zsh/bash syntax, stylua, schema checks, stow dry run, gitleaks
mise run smoke # behaviour: stow into an empty $HOME, start fish/zsh/bash/git/tmux/mise/nvim
mise run e2e:linux # the real install_linux.sh in a clean Ubuntu container (needs docker)
mise tasks # every individual checkci.ymlruns the first two on every PR (smoke on Linux and macOS) and exposes oneCI passedjob, the check the branch ruleset requires.e2e.ymlruns the Linux installer on every PR (serverpreset) and weekly for all presets, so upstream breakage shows up without a commit. The macOS installer is manual-only (workflow_dispatch).- The toolchain is pinned in
.mise.toml, which is not symlinked (see.stow-local-ignore).fish,zsh,stowandtmuxhave no mise backend and come from apt or brew. - Known secret-scan findings live in
.gitleaksignore. - Renovate (
renovate.json, same setup as the other SpechtLabs repos) keeps the pinned tools and GitHub Actions current. Digest, patch and minor updates merge themselves onceCI passedis green; majors wait for approval on the Dependency Dashboard issue. Auto-merge only waits for CI if theCI passedcheck is required in a branch ruleset, and the repo must allow auto-merge. mise run hooks:installturns on the pre-commit hook in.githooks/, which runs gitleaks on staged changes before every commit. It refuses to commit if gitleaks can't run;git commit --no-verifyskips it.
.dotfiles/
├── .Brewfile* # Homebrew packages
├── .config/
│ ├── fish/ # Fish shell
│ ├── nvim/ # Neovim (LazyVim)
│ ├── mise/ # Runtime version manager
│ ├── oh-my-posh/ # Prompt themes
│ ├── tmux/ # Terminal multiplexer
│ └── ...
├── fonts/ # FiraCode + Nerd Fonts
├── install_macos.sh # macOS bootstrap
└── install_linux.sh # Linux bootstrap
