From d2385da87e9c5f93ffb8af246cd28a4c2e8fcc0f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 15 May 2023 15:36:30 -0400 Subject: 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 () [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. --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/guix.texi') 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}) -- cgit 1.4.1