I’ve just submitted a PR to add an official Nix language cheat sheet to the marketing repository (Add cheat sheets #7). The cheat sheet is available in A4 and Letter paper sizes and in full color and (mostly) grayscale. This is part of a larger effort by the marketing team to create and collect swag that we can distribute at future NixCon and other large events.
I would so much appreciate a cheat sheet for functions from builtins and nixpkgs’s lib (and from packages too, such as buildEnv) - sometimes i just can neither find the one i need at a certain moment, nor remember some function I already used later.
I notice that there is a lot of 3rd party resources popping up around nix, but unless I manage to catch a discussion about one here on discoruse - i’d probably never find it on my own.
but as for what it is - it’s a good to find a manual entry for a function you know by name, but not that good for discovering a function that you didn’t know exists.
Also I see it misses docs for functions from pkgs, such as all kind of builders. But, unfortunately, for those even nixos/nixpkgs manuals do not contain full reference entries, usually I’m forced to look into their code.
Honestly, a whole series of cheat sheets like this would be really nice to have in general, bite-size format for information like this is generally nice to see.
Typst? This is a wonderful piece of software. I was a convinced user of LaTeX (ex: ECPHP / sessions · GitLab) for years… and since I tried Typst, I never went back to using LaTeX…
I’m using Typst for writing letters, making presentations…
Once in your repo, create the file: src/<name-of-the-document>/main.typ, then the scripts build-<name-of-the-document> and watch-<name-of-the-document> will be available.
The packages from Typst universe should also be available.