Dots Eject - ulises-jeremias/dotfiles GitHub Wiki
๐งจ Dots Eject Guide
While Chezmoi is a powerful and recommended tool for managing dotfiles across multiple systems, we understand that some users may prefer to maintain their own independent distribution.
[!TIP] This guide helps you eject from chezmoi and take full manual control of your dotfiles โ useful for advanced users or custom workflows.
๐ Why Use Chezmoi?
Chezmoi offers:
- ๐ Synchronization of dotfiles across machines
- ๐งผ Separation of source/config vs. applied state
- ๐ Secret management
- ๐ง Easy templating and onboarding of new environments
But if you no longer wish to use chezmoi, you can safely eject.
๐ฆ How to Eject from Chezmoi
Follow the official guide here: ๐ Migrate away from chezmoi
The process includes:
-
Applying all changes to your home directory:
chezmoi apply
-
Copying the real files to a new git-tracked directory:
mkdir ~/my-dotfiles chezmoi managed --include=all | xargs -I {} cp --parents {} ~/my-dotfiles/ cd ~/my-dotfiles && git init
-
Removing chezmoi from your workflow:
sudo pacman -Rns chezmoi # or appropriate command for your distro
Now you're managing your dotfiles fully manually or with your own tooling.
๐ง Things to Consider Before Ejecting
- โ Are you managing secrets that chezmoi helps encrypt?
- โ Do you still want templating, or are static files fine?
- โ Do you want a clean separation between machine-specific and shared config?
If the answer is โnoโ or โyou want full control,โ ejecting is a valid next step.
๐ Need Help?
Whether you stay with chezmoi or go fully manual, the goal is the same: dotfiles that reflect your ideal workflow. Choose the path that works best for you. ๐ ๏ธ