Though I've liked NixOS in the past, the documentation is an absolute mess. I've switched to GNU Guix.
As someone just getting started with Nix & NixOS, I couldn't agree more. In terms of documentation: the lines between nix-the-language, nix-the-tool, and nixos-the-system are often too blurry. Familiarity with one of the three is often assumed or implied. Everyone seems to be using Flakes and/or home-manager; the official docs and tools all try to scare you away by labeling it unstable/experimental (if ever mentionin…
> python310.withPackages and python311.withPackages
I think that should be solvable by supplying them the same function.
env = ps: with ps; [ numpy toolz ] python39.withPackages(env) python310.withPackages(env)