summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 22e22ee041..cd9da4b701 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -41332,6 +41332,8 @@ one or multiple partitions.
 
 @item @code{tarball}, a tar.gz image archive.
 
+@item @code{wsl2}, a WSL2 image.
+
 @end itemize
 
 @item @code{platform} (default: @code{#false})
@@ -41695,6 +41697,17 @@ Build an image similar to the one built by the @code{hurd-image-type}
 but with the @code{format} set to @code{'compressed-qcow2}.
 @end defvr
 
+@defvr {Scheme Variable} wsl2-image-type
+Build an image for the @acronym{WSL2, Windows Subsystem for Linux 2}.
+It can be imported by running:
+
+@example
+wsl --import Guix ./guix ./wsl2-image.tar.gz
+wsl -d Guix
+@end example
+
+@end defvr
+
 So, if we get back to the @code{guix system image} command taking an
 @code{operating-system} declaration as argument.  By default, the
 @code{efi-raw-image-type} is used to turn the provided