nixpkgs-suyu/nixos/modules/services
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
..
admin
amqp
audio Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
backup nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
blockchain/ethereum
cluster nixos/kubernetes: make lib option internal and readonly 2021-12-29 20:12:02 +01:00
computing Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
continuous-integration Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
databases nixos/couchdb: add missing defaultText 2021-12-29 20:12:02 +01:00
desktops nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
development
display-managers
editors
finance
games Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
hardware nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
logging Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
mail Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
matrix
misc nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
monitoring Merge pull request #149704 from squalus/nginx-prometheus-exporter-fix 2021-12-23 10:27:16 +08:00
network-filesystems
networking nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
printing
scheduling
search
security nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
system
torrent Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
ttys
video Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
wayland nixos/cage: log to journal 2021-12-16 23:55:15 +00:00
web-apps nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
web-servers nixos/acme: Add defaults and inheritDefaults option 2021-12-26 16:44:10 +00:00
x11 nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00