···109109To add Yae support to your Nix expression after running `yae init`, just read
110110from the Yae environment file. See the example below for more details.
111111112112-### Nix Example
112112+### Examples
113113+114114+Check out [`examples/nixpkgs`](./examples/nixpkgs) for a pure Nix example of Yae
115115+in action. This example is a little large since it constrains itself to **zero**
116116+inputs and manually constructs multi-system support. In a real-world scenario,
117117+you'd actually use something like [flake-utils](https://github.com/numtide/flake-utils)
118118+to replace all of the boilerplate. For this reason, [`examples/nixpkgs-simple`](./examples/nixpkgs-simple)
119119+exists, which functions identically, but uses `builtins.currentSystem` to
120120+populate the `nixpkgs.system` attribute. (requires `--impure`)
121121+122122+If Nixpkgs ever goes out of date in these theorectical examples, just run
123123+`yae update`!
124124+125125+#### Real-world Example
113126114127Here's an example snippet taken from Tsutsumi's [`zen-browser-bin` package](https://github.com/Fuwn/tsutsumi/blob/main/pkgs/zen-browser-bin.nix)
115128and [`yae.json`](https://github.com/Fuwn/tsutsumi/blob/main/yae.json#L59-L67)
116129showcasing Yae in action.
130130+131131+<details closed>
132132+ <summary>Expand this!</summary>
117133118134```nix
119135# pkgs/zen-browser-bin.nix
···146162 # inherit (yae.zen-browser-twilight-bin) sha256 version;
147163} { inherit pkgs; }
148164```
165165+</details>
149166150167## `--help`
151168