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 Care to link the source? 🙂

@pmidden The source is in the picture :p

https://github.com/Azeirah/L-Systems-editor

See the flake.nix in the repo.

GitHub - Azeirah/L-Systems-editor: An l-systems editor

An l-systems editor. Contribute to Azeirah/L-Systems-editor development by creating an account on GitHub.

GitHub
@Laauurraaa @pmidden fyi the dedentation of the shell hook there isn't required: the nix language already eats leading indents in '' block literals so it will get eaten for you.

@leftpaddotpy @pmidden Really? Because I intentionally removed it because it was appearing indented in my shell when I started it with `nix develop` ;o

Can you show me what you mean with a reproducible example? :D