The bare git repository method to version control dotfiles was great when I was using only one laptop.
Now I have two, one using Openbox with a lot of experimental customizations, and the other on KDE. I'd like to sync some things, especially neovim and zsh configs, but not sync the parts specific to Openbox/X11.
Managing multiple branches seems like not a good idea, resulting in double the effort.
chezmoi looks like it was created specifically for this issue:
https://www.chezmoi.io/user-guide/manage-machine-to-machine-differences/
The primary goal of chezmoi is to manage configuration files across multiple machines, for example your personal macOS laptop, your work Ubuntu desktop, and your work Linux laptop. You will want to keep much configuration the same across these, but also need machine-specific configurations for email addresses, credentials, etc.
There's a lot to learn and read about it, but could be worth it for now and for all future machines.
The bare git repository method to version control dotfiles was great when I was using only one laptop.
Now I have two, one using Openbox with a lot of experimental customizations, and the other on KDE. I'd like to sync some things, especially neovim and zsh configs, but not sync the parts specific to Openbox/X11.
Managing multiple branches seems like not a good idea, resulting in double the effort.
chezmoilooks like it was created specifically for this issue:https://www.chezmoi.io/user-guide/manage-machine-to-machine-differences/
There's a lot to learn and read about it, but could be worth it for now and for all future machines.