summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-04-21 21:36:47 +0100
committerChristopher Baines <mail@cbaines.net>2019-04-22 22:18:00 +0100
commit5582aa8e31bf88f981caedeb4fbbb758486b6ca7 (patch)
treed6a43deba9eee1be71ff0afe946539d077ab0d99
parentfa61900705ced88b058e2b49d9a8cc3ae3ba907e (diff)
downloadguix-5582aa8e31bf88f981caedeb4fbbb758486b6ca7.tar.gz
system: Change default kernel-arguments to '("quiet").
This improves the readability of the boot process, especially when using full
disk encryption where you're required to enter the passphrase at a particular
point.

* gnu/system.scm (<operating-system>)[kernel-arguments]: Change the default to
'("quiet").
* doc/guix.texi (operating-system Reference): Document this change.
-rw-r--r--doc/guix.texi2
-rw-r--r--gnu/system.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 785329add8..3ec1cf852a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10461,7 +10461,7 @@ The package object of the operating system kernel to use@footnote{Currently
 only the Linux-libre kernel is supported.  In the future, it will be
 possible to use the GNU@tie{}Hurd.}.
 
-@item @code{kernel-arguments} (default: @code{'()})
+@item @code{kernel-arguments} (default: @code{'("quiet")})
 List of strings or gexps representing additional arguments to pass on
 the command-line of the kernel---e.g., @code{("console=ttyS0")}.
 
diff --git a/gnu/system.scm b/gnu/system.scm
index 24243eb707..c4f5740df2 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -160,7 +160,7 @@
   (kernel operating-system-kernel                 ; package
           (default linux-libre))
   (kernel-arguments operating-system-user-kernel-arguments
-                    (default '()))                ; list of gexps/strings
+                    (default '("quiet")))         ; list of gexps/strings
   (bootloader operating-system-bootloader)        ; <bootloader-configuration>
   (label operating-system-label                   ; string
          (thunked)