about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorAnselm Schüler <mail@anselmschueler.com>2022-04-03 16:44:09 +0200
committerAnselm Schüler <mail@anselmschueler.com>2022-04-03 16:44:09 +0200
commit8e68f3fcfc9eb2a00aae46bfb7f6f27a87f920f0 (patch)
tree8d9d30089a40e4d77dcb535542b5e2cfe8e4d1bf /nixos/doc/manual
parent9a8b7640e010b901fb528cf62cf0bc79e0912ae2 (diff)
nixos/doc: build manual
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/from_md/development/option-types.section.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/development/option-types.section.xml b/nixos/doc/manual/from_md/development/option-types.section.xml
index 4447292927021..c67e183581c2c 100644
--- a/nixos/doc/manual/from_md/development/option-types.section.xml
+++ b/nixos/doc/manual/from_md/development/option-types.section.xml
@@ -617,6 +617,12 @@
       (<link linkend="ex-submodule-reference">Example: Submodule defined
       as a reference</link>).
     </para>
+    <para>
+      Note that even if your submodule’s options all have a default
+      value, you will still need to provide a default value (e.g. an
+      empty attribute set) if you want to allow users to leave it
+      undefined.
+    </para>
     <anchor xml:id="ex-submodule-direct" />
     <para>
       <emphasis role="strong">Example: Directly defined