A collection of amazing Nix blog posts

I often wish there was a centralized collection of good Nix blogs to read. Here’s an attempt to start creating one :slight_smile:

https://blog.layus.be/posts/2020-09-01-nix-hashes.html
https://blog.layus.be/posts/2020-06-12-nix-overlays.html
https://blog.nobbz.dev/blog/2022-09-17-callpackage-a-tool-for-the-lazy/
https://garnix.io/blog/fix-your-fods/
https://grahamc.com/blog/nix-and-layered-docker-images/
https://coopi.neocities.org/posts/nix-flakes-vs-guix
https://jade.fyi/blog/nix-evaluation-blocking/
https://zimbatm.com/notes/1000-instances-of-nixpkgs
https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/
https://nixcademy.com/posts/1000-instances-of-flake-utils/
https://blog.eigenvalue.net/2023-nix2container-everything-once/
https://akavel.github.io/post/nix-fixpoint/

any and every thing from https://fzakaria.com/

And many, many, many more…

What are some other ones?

21 Likes

The Darktable community has a web system that tracks what people write (and talk on Youtube) about the software. Maybe something similar would be suitable for Nix/NixOS as well?

3 Likes
3 Likes

Not a blog post, but this is very useful for anyone who wants to understand the module system:

3 Likes

How about this? It helped me learn some stuff:) https://nixos-and-flakes.thiscute.world/

4 Likes

two of my favs:

nix.exe: libnix mingw status
SUID-less NixOS / NoNewPrivileges - HedgeDoc

6 Likes

My favorite is this series that gives a small course in functional programming via the Nix language and ends with building a lambda calculus interpreter in Nix

Also if you’re interested in where NixOS can go and getting inspiration from our long lost cousin of Guix, their blog is great for getting ideas that aren’t already floating in the NixOS ecosystem https://guix.gnu.org/en/blog/

Also lheckermann stuff is cool, like Get all your sources! - Linus's blog talking about system.includeBuildDependencies letting you rebuild your NixOS config offline.

7 Likes

Very off topic, but this person seems to be in (or a fellow traveler of) the Falun Gong cult … weird.

Still, I don’t think that changes my view of the post itself. Really can’t overstate how good the actual content is. It’s very rare people write in the more textbook/coursework style with exercises at such a high technical level, especially for blog posts. I think more technical articles aiming to teach should start to use that style more often.

I.e. the whole “Mathematics is not a spectator sport” of Pólya, or “what I cannot create, I do not understand” of Feynman etc.

1 Like

Oh sure, I was intrigued enough myself to check it out! I was just stunned for a moment because I’ve never encountered this Type Of Guy™ in the wild before.

2 Likes

RPATH, or why lld doesn't work on NixOS good blog too

3 Likes