ryan4yin / nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!
https://nixos-and-flakes.thiscute.world
Creative Commons Attribution Share Alike 4.0 International
2.05k stars 104 forks source link

specialArgs used in example despite being discouraged #175

Closed disconn3ct closed 2 months ago

disconn3ct commented 3 months ago

Describe the bug The nixos flake and module system page says that specialArgs is a last resort:

The NixOS community generally recommends prioritizing the use of the _module.args option and resorting to specialArgs only when _module.args cannot be used.

Above that, specialArgs is listed first and here, and the usage examples.

At the bottom, the Helix compilation example also uses specialArgs

Expected behavior Priority should agree between text and examples. Lists should be most to least preferred options.

Environment (please complete the following information):