summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-15 00:15:13 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-15 00:41:08 +0100
commitd68cc7fe96c308775138c5af8aaf4436d35beb41 (patch)
tree8ecdcb4e5e1455d32d7d47ee1aba8dcb93239fee
parent8da6dfb0bbb00c330bfa053741f5a58b66219463 (diff)
downloadguix-d68cc7fe96c308775138c5af8aaf4436d35beb41.tar.gz
doc: Use @lisp for 'static-networking-service-type' example.
* doc/guix.texi (Networking Setup): Use @lisp for
'static-networking-service-type' example.
-rw-r--r--doc/guix.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index bcdc6973e3..2e7e02c701 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17078,7 +17078,7 @@ show below.
 Here is the simplest configuration, with only one network interface
 controller (NIC) and only IPv4 connectivity:
 
-@example
+@lisp
 ;; Static networking for one NIC, IPv4-only.
 (service static-networking-service-type
          (list (static-networking
@@ -17091,7 +17091,7 @@ controller (NIC) and only IPv4 connectivity:
                         (destination "default")
                         (gateway "10.0.2.2"))))
                 (name-servers '("10.0.2.3")))))
-@end example
+@end lisp
 
 The snippet above can be added to the @code{services} field of your
 operating system configuration (@pxref{Using the Configuration System}).