News for hackers. Stuff that matters.
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by kjuulh on Tuesday May 07, 2024 @08:35AM (#40284732)
This site seems much more like an some of the awesome-<insert tech here> repositories on github than a guide. Although it does give some extra information on the packages.

To not make it took negative. I personally use Chezmoi, which I've been super happy with. The ability to maintain files in a central repository and then pull them into the file system on an update is quite nice.

You can handle merge conflicts and whatnot between your local copy and the upstream dot files. You can opt your files into using go templates in your files which is useful when I need to maintain differences in configs between mac and linux, or in general for just storing secrets out of your dotfiles.

There are some small annoyances but overall it is the only dotfile manager, I've managed to stick with.

Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by DylanSp on Tuesday May 07, 2024 @08:55AM (#40284888)
Seconding Chezmoi, it's what I use, and it works well.
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by frantathefranta on Tuesday May 07, 2024 @09:55AM (#40285503)
Third here, it's the easiest tool to setup dotfiles that work on machines ranging from RHEL7 to latest MacOS. Haven't dealt with Windows dotfiles though.
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by tedmiston on Tuesday May 07, 2024 @12:56PM (#40288283)
Fourthing Chezmoi. I tried so many dotfiles tools and it's the only one that does just enough, gets out of my way, and "just works".

Being able to run `chezmoi diff` and `chezmoi apply` are game changers.

Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by yasn77 on Wednesday May 08, 2024 @07:06PM (#40303604)
Another happy chezmoi user here... I progressed from symlinks -> Homeshick -> yadm -> chezmoi

One of chezmoi killer features is how it handles secrets. Either the secret can be encrypted using age/gpg or (super cool) it integrates with you password manager (I used Bitwarden).

This is super useful for me, as I pair chezmoi with dotenv, so when I switch directories, my environment variables are auto populated, including secrets that are pulled directly from my password manager.

Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by p5a0u9l on Tuesday May 07, 2024 @11:59PM (#40294189)
I guess I don’t quite get it. It’s not a ton of work for me to manage things with git, symlinks, and a makefile. Clearly chezmoi adds some polish and maybe additional features, but I don’t see how that outweighs learning a custom tool for this one thing.
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by rcarmo on Wednesday May 08, 2024 @06:01AM (#40296185)
I just use stow and git with a Makefile as well, and I could certainly do without stow these days (I can just write a Makefile target for it, but haven’t bothered).
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by keb_ on Wednesday May 08, 2024 @05:09PM (#40302726)
I just back up my files to USB drive, and then transfer them to new machines manually.
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub by chrysoprace on Wednesday May 08, 2024 @07:24PM (#40303747)
The thing is that there isn't a lot to learn unless you have complex use cases (I have one, so I need to use chezmoi's advanced features). It just uses git under the hood and does a diff between your repository and the actual locations of your dotfiles, so if you wanted to (and I often do) you can just `cd` straight into chezmoi's repo and use `git`.

My complex use case is that I use all three of the main OS' and so there are some dotfiles for desktop apps that live in Windows' home directory and some that live in WSL, so having something manage that for me is pretty nice.