Skip to content
mjyoccaPublic

About

Personal dotfiles managed with Make, Bash scripts, and mise (mise-en-place)

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

403 Commits

Folders and files

Repository files navigation

 ____            __       ___      ___
/\  _`\         /\ \__  /'___\ __ /\_ \
\ \ \/\ \    ___\ \ ,_\/\ \__//\_\\//\ \      __    ____
 \ \ \ \ \  / __`\ \ \/\ \ ,__\/\ \ \ \ \   /'__`\ /',__\
  \ \ \_\ \/\ \L\ \ \ \_\ \ \_/\ \ \ \_\ \_/\  __//\__, `\
   \ \____/\ \____/\ \__\\ \_\  \ \_\/\____\ \____\/\____/
    \/___/  \/___/  \/__/ \/_/   \/_/\/____/\/____/\/___/

Personal dotfiles managed with Make, Bash scripts, and mise.

For an alternative to mise's dotfile management, consider chezmoi; for a symlink-focused setup, consider GNU Stow.

This setup is shared for inspiration; it isn't intended for every machine.

Warning

Use at your own risk. Bootstrap installs software and changes your configuration. Review the configuration in this repository and your existing dotfiles before running it.

Architecture

dotfiles/
├── Makefile                     Lifecycle ordering + platform selection
├── .config/mise/                Declarative provisioning + deployment
│   ├── config.toml              Shared dotfile definitions
│   ├── config.<platform>.toml   Platform packages, settings + deployment rules
│   └── global/                 Global tool fragments
│       ├── tools.toml           Shared development tools
│       └── platform*.toml       Platform providers + exclusions
├── packages/                    Application dotfiles deployed by mise
│   ├── zsh/                     Zsh configuration
│   ├── bash/                    Bash configuration
│   ├── nvim/                    Neovim configuration
│   └── ...
└── scripts/                     Stage wrappers + setup outside mise
    ├── shared/                  Reusable implementations + mise calls
    ├── linux/                   Reusable Linux stage implementations
    └── <platform>/              Platform entrypoints + extensions

Dotfile package directories mirror $HOME. The mise configuration defines which dotfile groups each platform deploys and where they go. Optional local mise overrides let you customize the configuration for each machine without changing the shared files. These overrides are ignored by Git.

Domain Managed by Responsibility
Lifecycle Make + Bash scripts Select the platform and run setup stages in order
System packages mise bootstrap + Homebrew/Pacman Install platform packages (Bash scripts handle interactive AUR installation)
Dotfiles mise dotfiles Deploy selected configuration files and templates
Development tools / Language runtimes mise Install CLI tools / select global or project-specific versions of Go, Rust, Node.js, etc.
Project environments mise Load project variables and PATH additions
Platform configuration mise + Bash scripts Apply macOS preferences and deploy Omarchy settings, themes, and hooks
Plugins and repository hooks Bash scripts Install TPM, gh-dash, a Zellij plugin, and the Gitleaks hook

See the mise configuration architecture for details on environment selection, local overrides, and how the platform configurations fit together.

Install

This setup supports Apple Silicon macOS and Omarchy machines. Git and Make must already be available; see the setup notes for platform prerequisites. Bootstrap handles the remaining prerequisites.

git clone https://github.com/mjyocca/dotfiles.git ~/dotfiles
cd ~/dotfiles
make bootstrap

Lifecycle

The make bootstrap command sets up a new machine. The make sync command brings an existing setup up to date with the configuration in this checkout.

make bootstrap
  prerequisites → [ packages → repos → link → tools → plugins ] → config → hooks
                   └─────────── make sync ───────────────────┘

Both commands run their steps in order and stop if a step fails.

Everyday use

make sync

Pull repository updates with Git before syncing; sync applies the configuration already in this checkout.

make upgrade

Upgrade mise tools within their configured version ranges, keeping old versions. Pinned language runtimes stay pinned; system package upgrades are separate.

Documentation

  • Commands and setup — Prerequisites, lifecycle stages, upgrades, deployment, and environment migration
  • mise architecture — Configuration composition, ownership, platform extension, and runtime behavior
  • Project secrets — Fnox providers, task-scoped grants, and migration from plaintext environment files
  • dotf toolbox — Daily utilities and project scaffolding
  • Tooling reference — Tool documentation and discovery collections

About

Personal dotfiles managed with Make, Bash scripts, and mise (mise-en-place)

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages