Live data from Hacker News

Unofficial guide to dotfiles on GitHub

dotfiles.github.io

21–30 of 65 posts

Re: Unofficial guide to dotfiles on GitHub

#22
post #2

[This] way (linked from the tutorials section of the page) is a great way to version your dotfiles without symlinks or installer scripts. [This]: https://www.atlassian.com/git/tutorials/dotfiles

What issue do symlinks have that makes them worth listing as a negative? Asking as someone who wrote an installer script to make symlinks a decade ago, and has used it whenever setting up a new computer ever since.

Flatpaks can be an issue depending on the sandboxing. The application may be restricted from accessing the target. Using a hardlinks works, so it isn't that big of an issue to have a couple hardlinks, but it is still something to keep in mind.

Re: Unofficial guide to dotfiles on GitHub

#23
after trying a few different ways i've settled on chezmoi which they also mention on their utilites page. it supports quite a lot of things that many other solutions miss like templates so that you can use the same repo across different operating systems and being able to run scripts just once, in order and so on.

It's somewhat involved to set up but now across windows/linux/macos my entire setup is literally just a one-liner.

Re: Unofficial guide to dotfiles on GitHub

#24
post #2

[This] way (linked from the tutorials section of the page) is a great way to version your dotfiles without symlinks or installer scripts. [This]: https://www.atlassian.com/git/tutorials/dotfiles

I love the atlassian method for dotfiles. I have been using for a few years now and currently stored on my private gitea server. I also create a branch for each variation, linux, macOS, macOS arm, windows. Basically they’re the same but they all have slightly different things I cannot use universally.

Re: Unofficial guide to dotfiles on GitHub

#25
After fiddling around with lot of options, I have finally homed in on a nix / home-manager[1] based setup. There are a few minor annoyances on Mac OS that I haven't sorted out yet (most of them are symlink/permissions related), but so far it's been working great for everything including support for VSCode dev container dotfiles setup[2].

[1]: https://github.com/nix-community/home-manager [2]: https://code.visualstudio.com/docs/remote/containers#_person...

Re: Unofficial guide to dotfiles on GitHub

#26

after trying a few different ways i've settled on chezmoi which they also mention on their utilites page. it supports quite a lot of things that many other solutions miss like templates so that you can use the same repo across different operating systems and being able to run scripts just once, in order and so on. It's somewhat involved to set up but now across windows/linux/macos my entire setup is literally just a…

I really like chezmoi. It is powerful enough to setup an entire organizations dot files.

Re: Unofficial guide to dotfiles on GitHub

#27

after trying a few different ways i've settled on chezmoi which they also mention on their utilites page. it supports quite a lot of things that many other solutions miss like templates so that you can use the same repo across different operating systems and being able to run scripts just once, in order and so on. It's somewhat involved to set up but now across windows/linux/macos my entire setup is literally just a…

I started using Chezmoi as well a year or so ago. Its the only one I've managed to stick with and not end up with a mess of different setups across machines.

Re: Unofficial guide to dotfiles on GitHub

#29

I have my home directory as a git repo: works great, simple, no symlinking

I have this as well. Easy to push and pull changes. I push to a private git server.

I keep a second copy repo on a thumb drive so I can start my home directory on an offline computer.

Post reply on HN