Cross-platform dotfiles: How do you keep your homedir synced across different machines and OSs? #201641
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaProjects BodyAs a dev working on os-santiago/homedir, we spend a lot of time thinking about how to structure the perfect, clean, and reliable home directory setup. One of the biggest challenges we often discuss is portability. Do you use the exact same configurations for macOS, Linux, and maybe even WSL? How do you handle machine-specific settings, conditional configs, or API secrets without cluttering your main git history? We are actively building and refining our approach over at os-santiago/homedir, and we'd love to hear your strategies. Do you rely on tools like GNU Stow, Chezmoi, Ansible, Nix, or just a good old custom bash script? Let's share some knowledge! I'd love to read about your current stack and what works best for you. Guidelines |
Replies: 1 comment
|
Hi, For cross-platform dotfiles, heres the most effective strategies:
|
Hi,
For cross-platform dotfiles, heres the most effective strategies:
.gitignoredoverride files (e.g.,~/.zshrc.local) and source them at the end of your main configs to keep machine-specific quirks out of version control.