(address . guix-patches@gnu.org)
* doc/guix.texi (Networking Services): Add example for static-networking-service.
---
doc/guix.texi | 9 +++++++++
1 file changed, 9 insertions(+)
Toggle diff (22 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index e1046eb51..592d51a47 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11616,6 +11616,15 @@ interface of interest. Behind the scenes what it does is extend
to handle.
@end deffn
+For example:
+
+@example
+(static-networking-service "eno1" "192.168.1.82"
+ #:gateway "192.168.1.2"
+ #:name-servers '("192.168.1.2"))
+@end example
+@end deffn
+
@cindex wicd
@cindex wireless
@cindex WiFi
--
2.11.0
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEmUFc4ZBdDlWp+IAmhgt/uzL4EZ0FAlux+ucACgkQhgt/uzL4
EZ128Af/XMc8NexD0AGwti1aOTRbiaYo32m9vaCUmNuQ29e6xTrBxsxJMJJdbZJs
mFmclMae2y2nkD2dbkPlO0M82qwLiZqVtHRTtT/tT8i1v2lmir+5K2tpsmDsqKC0
kBb8/MpvSSGQNEsxlsUWfomu2PifJO3phb2xWXaR/p02Yjos8+JjdKFa+3o2tu+R
+L8BLKO5j//IHdPsTV1b9J7Nr7onLmwXEMzGff74lT4TO9UCkpYQLxwRc2Tn2ZFb
MB6PA/BzzDx4uBktMc5cy2/utfWdgcHS+t/8pCL+/tLjVarEbmVsYAflt6FUqBUT
A0rZO5mTG8GKTJC8B9rCOkrDFN9OPQ==
=xfAc
-----END PGP SIGNATURE-----