aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNathan Dehnel <ncdehnel@gmail.com>2021-12-21 14:18:22 -0600
committerMathieu Othacehe <othacehe@gnu.org>2021-12-22 09:07:39 +0100
commit6fb5459e8b3c2c3183372af72aea538fff60c5d3 (patch)
treef91d092d4f40c48f8fed7461581e6109a420a02d /doc
parentdce3415a74e04e97d10212e799b9b2e63a32a286 (diff)
downloadguix-6fb5459e8b3c2c3183372af72aea538fff60c5d3.tar
guix-6fb5459e8b3c2c3183372af72aea538fff60c5d3.tar.gz
services: wireguard: Add DNS config field.
* gnu/services/vpn.scm (wireguard-configuration)[dns]: New field. (wireguard-configuration-file): Honor it. * doc/guix.texi: Document it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 34e75156eb..d76cfb0c89 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -28632,6 +28632,9 @@ The IP addresses to be assigned to the above interface.
@item @code{port} (default: @code{51820})
The port on which to listen for incoming connections.
+@item @code{dns} (default: @code{#f})
+The DNS server(s) to announce to VPN clients via DHCP.
+
@item @code{private-key} (default: @code{"/etc/wireguard/private.key"})
The private key file for the interface. It is automatically generated if
the file does not exist.