I love Nix so much, because you can just super easily contain an entire development environment in one file. This stuff is genuinely

- More flexible than docker
- Easier than docker
- More reliable than docker
- Faster than docker
- More powerful than docker

Why isn't literally everyone using Nix?

#nix #nixos

Here, a development environment that installs

1. Bun
2. Playwright
3. Chrome, firefox and a generic webkit browser

And sets it up correctly, in an isolated environment? With a nice "hey, this is how you use this development environment" comment as a cherry on top?

The entire Nix file is 46 lines of code. Most of it boilerplate.

#nix #nixos

@Laauurraaa As a pretty heavy nix user, I still can't say I love the language, but the results can hardly be argued with!

@adriano Yeahh.. The language is a bit sketchy. But the ecosystem? Oh gosh, it's so good.

The fundamental principles? Even better.

Nix is a philosophy, not a tool.

@adriano (although it happens to be a tool too!)

@Laauurraaa Absolutely.

I've been using `devenv` to do what you're doing here, btw. I imagine you've heard of it, but just in case you haven't, now you have!