summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6c44c22a32..ba13ebf144 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -41476,6 +41476,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})
@@ -41842,6 +41844,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