News for hackers. Stuff that matters.
Re:I Think It's Time to Give Nix a Chance by zachlatta on Monday May 26, 2025 @12:20PM (#44098853)
Can you link your dotfiles? I’ve been having trouble figuring out a good way to structure mine
Re:I Think It's Time to Give Nix a Chance by i915 on Monday May 26, 2025 @12:52PM (#44099145)
Re:I Think It's Time to Give Nix a Chance by sshine on Monday May 26, 2025 @01:21PM (#44099473)
Yes, that’s easy.

Here’s a very small example:

https://github.com/sshine/nix/blob/main/shared/home-manager....

My servers don’t have that many dotfiles because most server software can be configured in /etc (zsh, vim), while my work computers have a lot of dotfiles symlinked into ~/.config/ via Nix, e.g. VSCodium, ghostty, …

Most people prefer to Nix up their dotfiles, which provides some advantages (e.g. universal styling via Stylix), but the main drawback that I’m not buying is: I can’t share my app-specific config with non-Nix users.

But if you’re looking for a cheaper (in terms of complexity) dotfiles manager: https://github.com/yarlson/lnk