[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: doc: Make “crash course” xref more visible.
From: |
guix-commits |
Subject: |
09/09: doc: Make “crash course” xref more visible. |
Date: |
Thu, 14 Sep 2023 11:21:26 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6d12c16299c1654a909c69d52bcb99b02cca0962
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Sep 14 17:18:09 2023 +0200
doc: Make “crash course” xref more visible.
* doc/guix.texi (Using the Configuration System): Move the “Do not
panic” note right after the first example. Clarify wording.
---
doc/guix.texi | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 339dcb2a41..7e42a7151c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16834,24 +16834,37 @@ instance to support new system services.
The operating system is configured by providing an
@code{operating-system} declaration in a file that can then be passed to
the @command{guix system} command (@pxref{Invoking guix system}). A
-simple setup, with the default system services, the default Linux-Libre
-kernel, initial RAM disk, and boot loader looks like this:
+simple setup, with the default Linux-Libre
+kernel, initial RAM disk, and a couple of system services added to those
+provided by default looks like this:
@findex operating-system
@lisp
@include os-config-bare-bones.texi
@end lisp
-This example should be self-describing. Some of the fields defined
+The configuration is declarative and hopefully mostly self-describing.
+It is actually code in the Scheme programming language; the whole
+@code{(operating-system @dots{})} expression produces a @dfn{record}
+with a number of @dfn{fields}.
+Some of the fields defined
above, such as @code{host-name} and @code{bootloader}, are mandatory.
Others, such as @code{packages} and @code{services}, can be omitted, in
-which case they get a default value.
+which case they get a default value. @xref{operating-system Reference},
+for details about all the available fields.
-Below we discuss the effect of some of the most important fields
-(@pxref{operating-system Reference}, for details about all the available
-fields), and how to @dfn{instantiate} the operating system using
+Below we discuss the effect of some of the most important fields,
+and how to @dfn{instantiate} the operating system using
@command{guix system}.
+@quotation Do not panic
+@cindex Scheme programming language, getting started
+Intimidated by the Scheme language or curious about it? The Cookbook
+has a short section to get started that explains the fundamentals, which
+you will find helpful when hacking your configuration. @xref{A Scheme
+Crash Course,,, guix-cookbook, GNU Guix Cookbook}.
+@end quotation
+
@unnumberedsubsec Bootloader
@cindex legacy boot, on Intel machines
@@ -17025,14 +17038,6 @@ Alternatively, the @code{modify-services} macro can be
used:
(delete avahi-service-type))
@end lisp
-@quotation Do not panic
-@cindex Scheme programming language, getting started
-Intimidated by the Scheme language or curious about it? The Cookbook
-has a short section to get started that explains the fundamentals, which
-you will find helpful when hacking your configuration. @xref{A Scheme
-Crash Course,,, guix-cookbook, GNU Guix Cookbook}.
-@end quotation
-
@unnumberedsubsec Instantiating the System
Assuming the @code{operating-system} declaration
- branch master updated (e5f7c14ef6 -> 6d12c16299), guix-commits, 2023/09/14
- 01/09: home: services: redshift: Use redshift package specified in configuration, guix-commits, 2023/09/14
- 02/09: gnu: Add stklos., guix-commits, 2023/09/14
- 03/09: gnu: syncthing: Update to 1.23.7., guix-commits, 2023/09/14
- 08/09: gnu: npiet: Use gexps., guix-commits, 2023/09/14
- 09/09: doc: Make “crash course” xref more visible.,
guix-commits <=
- 05/09: gnu: neofetch: Fix cross-compiling., guix-commits, 2023/09/14
- 06/09: gnu: rottlog: Add gawk as an input., guix-commits, 2023/09/14
- 04/09: gnu: tor: Update to 0.4.8.5., guix-commits, 2023/09/14
- 07/09: gnu: npiet: Fix cross-compilation., guix-commits, 2023/09/14