MrPickles / dotfiles

My personal dotfiles.
http://andrew.cloud/dotfiles.sh
MIT License
37 stars 24 forks source link

Use OS-agnostic package manager for binaries #54

Open MrPickles opened 1 year ago

MrPickles commented 1 year ago

Something like Nix or Homebrew.

MrPickles commented 1 year ago

https://www.chezmoi.io/ seem interesting

MrPickles commented 1 year ago

While stow is nice and simple, its development velocity seems terribly slow. Installing homebrew requires sudo access, which makes it also a prerequisite for having stow.

MrPickles commented 1 year ago

Chezmoi doesn't require root, and it has pretty good support for features beyond simple files (e.g. maintaining custom OMZ plugins). Technically, the "optimal" way to structure this is to use chezmoi to manage dotfiles and have a bootstrap script manage nix (though nix will require root).

MrPickles commented 1 year ago

My one gripe with Chezmoi is that there's a lot of magic.

Both nix and homebrew require root, so it's a wash.

MrPickles commented 1 year ago

Lack of root shouldn't be a problem, as long as we're able to fail gracefully and continue on with the setup without issue. This pretty much rules out stow as a viable option.