Live data from Hacker News

Rotz: Cross platform dotfile manager written in Rust

volllly.github.io

31–40 of 46 posts

Re: Rotz: Cross platform dotfile manager written in Rust

#31

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...

> 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"?

Where does their comment indicate they commit secrets?

Re: Rotz: Cross platform dotfile manager written in Rust

#32

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...

> 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

Re: Rotz: Cross platform dotfile manager written in Rust

#33
post #20

What a coincidence. I was looking at awesome dotfiles on GitHub. I started thinking of jumping onto the "manage dotfile" bandwagon after reading today's LWN note on the GNU Stow release. I shortlisted Chezmoi and Comtrya to play with. Then I saw this.

Been using chezmoi for a while now and mostly happy with it. Managing most of my work and personal configs/dotfiles for PowerShell Core, bash, and zsh across Windows, Mac, and Linux.

The only problem I've run into is that while chezmoi supports tracking files/directories as read-only, once they are created they can't be updated anymore because chezmoi isn't smart enough to swap them to writable and back.

Re: Rotz: Cross platform dotfile manager written in Rust

#35

[chezmoi]( https://github.com/twpayne/chezmoi ) works okay for me. I like that it can add files and push them to GitHub in a single command

Chezmoi is great, and very fully featured. But this is one of those itches we're doomed to see reinvented constantly, in every language that is the favourite of the author, with ever so minor variations.

Re: Rotz: Cross platform dotfile manager written in Rust

#36
I've been looking for a cross-platform dotfile management tool and I had some hope for this but it seems a little too complex, and I don't like that I would end up with lots of yaml/toml/json files. I use Mac, Windows, and Linux and I want to have a single configuration for all. I've been using https://github.com/rhysd/dotfiles and it is the only thing that really works well for me.

Re: Rotz: Cross platform dotfile manager written in Rust

#37
post #30

Earlier quoted context omitted.

> 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"?

Perhaps SSH/GPG private keys are .gitignored?

I protect my ssh keys with passphrases, and then load the keys using ssh-add.

Re: Rotz: Cross platform dotfile manager written in Rust

#38

[chezmoi]( https://github.com/twpayne/chezmoi ) works okay for me. I like that it can add files and push them to GitHub in a single command

I am a huge fan of chezmoi, it takes time to wrap your head around it but once you are setup it's is great. I keep windows, Linux/FreeBSD severs and Linux desktops all synced up with chezmoi.

Previously I used xstow for 10 years which served me well and is less of a challenge to get started with compared to chezmoi.

Re: Rotz: Cross platform dotfile manager written in Rust

#39

Earlier quoted context omitted.

> 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"?

I guess it's a private repo...

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

#40
Every time I have tried to use dotfiles across OS installations, it failed miserably. Software failed in mysterious ways when the configuration was slightly off between versions/builds.

Might make sense if you have a large amount of time to keep tinkering with your computer, but probably not a productivity boost in any form.

Post reply on HN