Live data from Hacker News

Dotfiles Management

mitxela.com

1–10 of 143 posts

Re: Dotfiles Management

#3

Checkout chezmoi, I’ve been using it for a few years and it ticks every box for me - various machines, different configs, scripts, passwords etc https://www.chezmoi.io/

I discovered chezmoi a few days ago after getting a new laptop and a wish to normalize my configuration across multiple computers.

Templating is awesome when having computers with differents DPI or screens attached, OS, etc.

Edition with --watch is a breeze, auto commit too!

Re: Dotfiles Management

#4
Nice hack, but I still believe that home-manager [0] should be the way to go. It's the gateway drug to the Nix ecosystem and cleanly solves the composability problem which this "one-size-fits-all repo checked out to root" approach will have some trouble with.

[0] https://github.com/nix-community/home-manager

Re: Dotfiles Management

#5

Checkout chezmoi, I’ve been using it for a few years and it ticks every box for me - various machines, different configs, scripts, passwords etc https://www.chezmoi.io/

On my list of new years resolutions is to finally embrace dotfiles management. This looks like just the ticket. Thanks!

Re: Dotfiles Management

#6

Nice hack, but I still believe that home-manager [0] should be the way to go. It's the gateway drug to the Nix ecosystem and cleanly solves the composability problem which this "one-size-fits-all repo checked out to root" approach will have some trouble with. [0] https://github.com/nix-community/home-manager

It's definitely a gateway drug worth taking since Nix solves all kinds of other problems too.

Just don't expect to become an expert overnight, it takes a while to sink in (or it did for me).

Re: Dotfiles Management

#8

Checkout chezmoi, I’ve been using it for a few years and it ticks every box for me - various machines, different configs, scripts, passwords etc https://www.chezmoi.io/

And best of all: it's a single executable that doesn't need any specific installing.

Re: Dotfiles Management

#10

Checkout chezmoi, I’ve been using it for a few years and it ticks every box for me - various machines, different configs, scripts, passwords etc https://www.chezmoi.io/

I was interested in chezmoi, but they don't want you[1] managing files outside your home directory which made it a non-starter. I need to manage /etc/ and /usr/local/ too.

[1] https://www.chezmoi.io/user-guide/frequently-asked-questions...

Post reply on HN