I’m looking for recommendations for a dotfile manager - there are so many out there I’ve got a bit of options paralysis!

I’d like a system that can backup all my dotfiles - with version management - and, if I nuked my home directory, could restore them all for me with a simple command.

Thanks in advance for you suggestions!

  • promitheas@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

    I use chezmoi for mine. I haven’t had to restore after a nuke yet (hopefully not anytime) but its really simple IMO. Its basically a git wrapper, so there you have your version control. You create a dotfiles repo in your GitHub, initialise your home as a local repo and point it there using chezmoi, and then its as simple as typing “chezmoi add myfile” to start tracking the file in the repo. Then I simply do “chezmoi cd” followoed by the standard git commands to commit and push changes to remote.

    Check it out, I’m happy working with it across my desktop and laptop (working on the same config files across both pcs).

    • tarlitz@feddit.nl
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      +1 for chezmoi

      It makes syncing my dotfiles between my different systems fairly painless. It just works.