Comment

Comment by zamalek

It's sounds like one of the major problems here was using configuration.nix. Nix flakes provide a much better user experience, but they are currently "experimental" (seriously, its time to stabilize flakes) and you are not guided to use them at all.

I have .envrc ignored in my global gitignore, and then I write 'use flake $HOME/my-nix-config#node' to .envrc. direnv then grabs that and does the rest. I no longer need to commit anything Nix related to git, so my coworkers are none the wiser.

Ultimately this article shows that, once again, the problem with Nix is the documentation.

parent zamalek 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton