Managed with stow. Structure: common/ (all OS), linux/, macos/, nix/.
./stow-dotfiles.shmkdir -p common/[pkg]/.config/[pkg]- Copy config →
common/[pkg]/ - Remove original, stow recreates as symlink
- Add to
COMMONarray instow-dotfiles.sh
nix/not stowed (NixOS-only)- OS-specific files (zsh, git) replace common versions
- Add to
.stow-local-ignoreto exclude (e.g.,op)