Live data from Hacker News

Dotfiles Management

mitxela.com

141–143 of 143 posts

Re: Dotfiles Management

#141
post #89

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

Any home-manager users on Nix OS here? Are there any killer features in home-manager for you? I tried home-manager for a bit, but just went back to plain NixOS after I couldn't find anything it did better than what I was already using ([1], [2]). [1] https://gitlab.com/engmark/tilde [2] https://gitlab.com/engmark/root

I use NixOS and do not use home-manager. I have synchthing managed by NixOS and it syncs all of my config and files between all my machines.

Btw, am I the only person annoyed at calling configuration files dotfiles? Not all hidden files/folders are configuration, and not all configuration files are hidden.

Re: Dotfiles Management

#142
I did something similar here https://github.com/redraw/dotfiles, along with some installation scripts

although, nice idea on tracking the whole / instead of just ~/!

the only thing I miss after aliasing dotfiles to git, is that you lose git's autocompletion features. I once tried to set it up in zsh with autocomp, but without success, should review that

Re: Dotfiles Management

#143
post #123

Earlier quoted context omitted.

regular config files in ~/Library/Application Support/ Sure there are (b) workarounds, including chezmoi templates and run_ scripts with symlinks, but that's cumbersome (and some issues were only resolved recently)

Not sure what you mean? That is in your home directory...

You're right, I confused it with a different issue requiring symlinking "workarounds"
Post reply on HN