Declaration: Difference between revisions
imported>Mth m Mth moved page NixOS:Declaration to Declaration |
imported>Fricklerhandwerk add category: NixOS |
||
Line 75: | Line 75: | ||
* <code>optionSet</code>: '''DEPRECATED, probably use submodule instead''' This type is used to benefit from the modular system used by NixOS inside an option. When this type is enabled, it merge the <code>options</code> attribute of option declarations with each definition. The result is the fixed configuration of each module. This option is often see in conjunction with <code>attrsOf</code> or <code>listOf</code>. Modules declared in option declaration appear in the generated manual with a prefix representing the container type, respectively "<code>.<name></code>" and "<code>.*</code>". Reference to definition files do not appears in the generated manual because the system cannot track them. | * <code>optionSet</code>: '''DEPRECATED, probably use submodule instead''' This type is used to benefit from the modular system used by NixOS inside an option. When this type is enabled, it merge the <code>options</code> attribute of option declarations with each definition. The result is the fixed configuration of each module. This option is often see in conjunction with <code>attrsOf</code> or <code>listOf</code>. Modules declared in option declaration appear in the generated manual with a prefix representing the container type, respectively "<code>.<name></code>" and "<code>.*</code>". Reference to definition files do not appears in the generated manual because the system cannot track them. | ||
[[Category:NixOS]] |