diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-05-15 15:36:30 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-07-21 11:58:44 -0400 |
commit | d2385da87e9c5f93ffb8af246cd28a4c2e8fcc0f (patch) | |
tree | 67a5317b5a899c2eac0f38588ed436505e6b6f73 /doc | |
parent | 8d785c43bad05546cfe8e08a1bbe065a63215f9d (diff) | |
download | guix-d2385da87e9c5f93ffb8af246cd28a4c2e8fcc0f.tar.gz |
services: wireguard: Clean-up configuration file serializer.
Previously, the generated config file would contain arbitrary whitespace that made it look ugly. * gnu/services/vpn.scm (<wireguard-configuration>) [dns]: Change default value from #f to '(). (wireguard-configuration-file): Use match-record. Format each line individually, assembling the lines at the end to avoid extraneous white space. * doc/guix.texi (VPN Services): Update doc.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 33e2286455..585baf358f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -32952,7 +32952,7 @@ 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}) +@item @code{dns} (default: @code{'())}) The DNS server(s) to announce to VPN clients via DHCP. @item @code{monitor-ips?} (default: @code{#f}) |