about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2018-11-10 15:12:07 +0100
committerGitHub <noreply@github.com>2018-11-10 15:12:07 +0100
commite468a1091bd37f4e3b79a2fc42846e0089a4a2c4 (patch)
tree5daf8f9757615b9961ecf4f8df810cbfa7e833a8 /nixos/doc
parent3cec0b0c174fcb6fdf37393593f4cb0d219cc30e (diff)
parent0885a651694853e2a125ecda5a37c3fe5e1ea005 (diff)
downloadnixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.tar
nixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.tar.gz
nixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.tar.bz2
nixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.tar.lz
nixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.tar.xz
nixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.tar.zst
nixlib-e468a1091bd37f4e3b79a2fc42846e0089a4a2c4.zip
Merge pull request #48687 from danielrutz/port-type
Add port type
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/development/option-types.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml
index e6c9eae11a72..d993e47bc914 100644
--- a/nixos/doc/manual/development/option-types.xml
+++ b/nixos/doc/manual/development/option-types.xml
@@ -106,7 +106,7 @@
      </para>
     </listitem>
    </varlistentry>
-   <varlistentry>
+   <varlistentry xml:id='types.ints.ux'>
     <term>
      <varname>types.ints.{u8, u16, u32}</varname>
     </term>
@@ -131,6 +131,17 @@
      </para>
     </listitem>
    </varlistentry>
+   <varlistentry>
+    <term>
+     <varname>types.port</varname>
+    </term>
+    <listitem>
+     <para>
+      A port number. This type is an alias to
+      <link linkend='types.ints.ux'><varname>types.ints.u16</varname></link>.
+     </para>
+    </listitem>
+   </varlistentry>
   </variablelist>
 
   <para>