1. 8
  1.  

  2. 12

    More utilities: https://dotfiles.github.io/utilities/

    I wrote https://chezmoi.io/, which is now the most popular dotfile manager. Happy to answer any questions about it.

    1. 2

      Happy user of chezmoi, I even inject dotfiles in containers with something like: chezmoi archive | docker exec xxx tar xf -.

      I sometimes encounter difficulties with old software (e.g. older git) rejecting recent options I include in my dotfiles. I solved it with an after script deleting unwanted options. Not sure to remember why I didn’t want templates for that.

      1. 2

        Happy to hear you’re happy!

        Injecting dotfiles into containers with chemzoi is tracked in this issue: https://github.com/twpayne/chezmoi/issues/1410

        Spolier alert: this is planned for chezmoi v3 ;)

        1. 1

          Excellent, thank you!

    2. 4

      I use Stow for dotfile management. Saves from having the entire root under Git. Dotfiles live in ~/dotfiles/$TOOL and then I can just stow $TOOL to link from my home directory. Really helps with tools that make a complicated dot directory structure for their config and support files.

      1. 2

        I’m in my tenth year of managing dotfiles in a git repo. I used fresh for a number of those, and dotbot for a number more. I’ve explored many alternatives along the way including chezmoi and ansible.

        This past year I adopted nixos and home-manager. I’ve long strived for cross platform compatibility in my setup, but no longer. I’ve been slowly making my dotfiles fully dependent on a working nix install. I still symlink some configs directly to my dotfiles repo, as I can’t be bothered with rebuilding into the RO nix store for everything.

        1. 2

          I use a method mentioned by @jmk, https://lobste.rs/s/ocmbaq/how_store_your_dotfiles_using_git#c_zo9hhc, namely a git repo in your home directory which by default ignores all files.

          1. 1

            I do the unusual thing of managing my dotfiles with saltstack.