about summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-04-30 21:30:20 -0400
committerGitHub <noreply@github.com>2018-04-30 21:30:20 -0400
commitd1165dba9979b6bd4ba063b7e39384ece33eec4e (patch)
tree97ef14c099cb326ce0271de38f075ac3ed4df91a /nixos/modules/services/networking
parent8cb0252b1e50a5236793e0fbf39b39510725ccf0 (diff)
parent7292c5a5701bacc4188a00e0399a92aa748ec6a5 (diff)
downloadnixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar
nixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.gz
nixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.bz2
nixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.lz
nixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.xz
nixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.zst
nixlib-d1165dba9979b6bd4ba063b7e39384ece33eec4e.zip
Merge pull request #38831 from rdnetto/improve-cross-refs
Improve cross referencing in NixOS Manual
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/dnscrypt-proxy.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.xml b/nixos/modules/services/networking/dnscrypt-proxy.xml
index 555c6df4d551..ff1088698589 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy.xml
+++ b/nixos/modules/services/networking/dnscrypt-proxy.xml
@@ -19,7 +19,7 @@
   <para>
     To enable the client proxy, set
     <programlisting>
-      services.dnscrypt-proxy.enable = true;
+<xref linkend="opt-services.dnscrypt-proxy.enable"/> = true;
     </programlisting>
   </para>
 
@@ -38,17 +38,17 @@
     DNS client, change the default proxy listening port to a
     non-standard value and point the other client to it:
     <programlisting>
-      services.dnscrypt-proxy.localPort = 43;
+<xref linkend="opt-services.dnscrypt-proxy.localPort"/> = 43;
     </programlisting>
   </para>
 
   <sect2><title>dnsmasq</title>
   <para>
     <programlisting>
-      {
-        services.dnsmasq.enable = true;
-        services.dnsmasq.servers = [ "127.0.0.1#43" ];
-      }
+{
+  <xref linkend="opt-services.dnsmasq.enable"/> = true;
+  <xref linkend="opt-services.dnsmasq.servers"/> = [ "127.0.0.1#43" ];
+}
     </programlisting>
   </para>
   </sect2>
@@ -56,10 +56,10 @@
   <sect2><title>unbound</title>
   <para>
     <programlisting>
-      {
-        services.unbound.enable = true;
-        services.unbound.forwardAddresses = [ "127.0.0.1@43" ];
-      }
+{
+  <xref linkend="opt-services.unbound.enable"/> = true;
+  <xref linkend="opt-services.unbound.forwardAddresses"/> = [ "127.0.0.1@43" ];
+}
     </programlisting>
   </para>
   </sect2>