nixpkgs/nixos/modules
pennae fc614c37c6 nixos/documentation: split options doc build
most modules can be evaluated for their documentation in a very
restricted environment that doesn't include all of nixpkgs. this
evaluation can then be cached and reused for subsequent builds, merging
only documentation that has changed into the cached set. since nixos
ships with a large number of modules of which only a few are used in any
given config this can save evaluation a huge percentage of nixos
options available in any given config.

in tests of this caching, despite having to copy most of nixos/, saves
about 80% of the time needed to build the system manual, or about two
second on the machine used for testing. build time for a full system
config shrank from 9.4s to 7.4s, while turning documentation off
entirely shortened the build to 7.1s.
2022-01-02 19:46:13 +01:00
..
config nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
hardware Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
i18n/input-method nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
installer nixos/installer: Quote variable references 2021-11-26 18:58:08 +13:00
misc nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
profiles Merge pull request #146288 from Artturin/mtoolsandsuch 2021-11-19 00:21:08 +02:00
programs nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
security nixos/acme: Add test for lego's built-in web server 2021-12-26 16:49:59 +00:00
services nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
system nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
tasks Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
testing
virtualisation nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
module-list.nix docker-rootless service: init 2021-12-22 14:23:23 +03:00
rename.nix