diff options
author | Silvan Mosberger <contact@infinisil.com> | 2019-12-31 04:25:35 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-01-02 09:59:35 +0100 |
commit | eec83d41e3e7d9ad5bc1086198d972d55bab1203 (patch) | |
tree | b2118c45cb47ef7c239990ae72566d6ffbb6cdec /nixos/doc | |
parent | bc42515736154efd577baafa592734ff1bc198bc (diff) | |
download | nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.tar nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.tar.gz nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.tar.bz2 nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.tar.lz nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.tar.xz nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.tar.zst nixpkgs-eec83d41e3e7d9ad5bc1086198d972d55bab1203.zip |
lib/types: Allow paths as submodule values
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/development/option-types.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml index 1ec7e3efad7..173fdfcbbc8 100644 --- a/nixos/doc/manual/development/option-types.xml +++ b/nixos/doc/manual/development/option-types.xml @@ -257,9 +257,9 @@ <listitem> <para> A set of sub options <replaceable>o</replaceable>. - <replaceable>o</replaceable> can be an attribute set or a function - returning an attribute set. Submodules are used in composed types to - create modular options. This is equivalent to + <replaceable>o</replaceable> can be an attribute set, a function + returning an attribute set, or a path to a file containing such a value. Submodules are used in + composed types to create modular options. This is equivalent to <literal>types.submoduleWith { modules = toList o; shorthandOnlyDefinesConfig = true; }</literal>. Submodules are detailed in <xref |