Re:Rotz: Cross platform dotfile manager written in Rust
by nuphonenuacc on Monday April 08, 2024 @03:37PM
(#39972947)
I don't get those dotfile managers. I just have a git repo with a branch for every machine. And my dotfiles are in many formats, not just yaml toml and JSON...
[ Parent
| on HN ]
Re:Rotz: Cross platform dotfile manager written in Rust
by Ugohcet on Monday April 08, 2024 @04:20PM
(#39973298)
I also don't get these, but for another reason: why write a dotfiles-specific configuration management tool with templating, conditions and all of that when we already have proper SCMs like salt or ansible that perfectly scale down to a single user and a small number of configs, but are still orders of magnitude more powerful when you need it.
Re:Rotz: Cross platform dotfile manager written in Rust
by throwaway894345 on Monday April 08, 2024 @04:42PM
(#39973491)
I will do a lot of work to avoid having to touch ansible and friends. Fortunately, I don't have to do a lot of work because I spent 10 minutes writing a 50 line Go program a decade ago that has done everything I've needed it to do in the interim (IIRC the only change I made to it was supporting Go modules back in ~2015).
Re:Rotz: Cross platform dotfile manager written in Rust
by MuffinFlavored on Monday April 08, 2024 @04:12PM
(#39973229)
> I just have a git repo with a branch for every machine.
Aren't you supposed to "not" commit secrets/sensitive values to git repos as "best practice"?
Re:Rotz: Cross platform dotfile manager written in Rust
by dark-star on Monday April 08, 2024 @04:17PM
(#39973265)
I guess it's a private repo...
Re:Rotz: Cross platform dotfile manager written in Rust
by az09mugen on Tuesday April 09, 2024 @08:00AM
(#39978506)
For many dotfile configs such as text editors, aliases or else not involving security, I personally don't care if it's public. Take this example https://github.com/AzogMugen/shortcuts-config/tree/master/ho...
Re:Rotz: Cross platform dotfile manager written in Rust
by pvorb on Monday April 08, 2024 @04:47PM
(#39973535)
Perhaps SSH/GPG private keys are .gitignored?
Re:Rotz: Cross platform dotfile manager written in Rust
by solarengineer on Monday April 08, 2024 @08:40PM
(#39975204)
I protect my ssh keys with passphrases, and then load the keys using ssh-add.
Re:Rotz: Cross platform dotfile manager written in Rust
by kaashif on Monday April 08, 2024 @04:50PM
(#39973568)
Where does their comment indicate they commit secrets?
Re:Rotz: Cross platform dotfile manager written in Rust
by __float on Monday April 08, 2024 @03:41PM
(#39972986)
Are your per-machine branches mostly distinct, or do they share a lot?
I use https://github.com/thoughtbot/rcm and I find my dotfiles share _quite a bit_ in some respects (e.g. neovim config) but are drastically different in others (SSH config as one example) -- keeping things synced _across_ branches sounds very difficult. rcm handles this well, without branches, IMO.
Re:Rotz: Cross platform dotfile manager written in Rust
by whateveracct on Tuesday April 09, 2024 @05:49PM
(#39984660)
You can have shared files and source them
Re:Rotz: Cross platform dotfile manager written in Rust
by beaugunderson on Monday April 08, 2024 @05:29PM
(#39973927)
> not just yaml toml and JSON
those are the formats available for configuring rotz itself; it's agnostic to the content of your actual dotfiles