From 5c79f238634c5adb6657f1b4b1bb4ddb8bb73ef1 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 18 Feb 2020 10:42:07 +0100 Subject: system: Add kernel-loadable-modules to operating-system. * gnu/system.scm (): Add kernel-loadable-modules. (operating-system-directory-base-entries): Use it. * doc/guix.texi (operating-system Reference): Document KERNEL-LOADABLE-MODULES. * gnu/build/linux-modules.scm (depmod): New procedure. (make-linux-module-directory): New procedure. Export it. * guix/profiles.scm (linux-module-database): New procedure. Export it. * gnu/tests/linux-modules.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/linux.scm (make-linux-libre*)[arguments]<#:phases>[install]: Disable depmod. Remove "build" and "source" symlinks. [native-inputs]: Remove kmod. --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 92125abccc..6346cf78a1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11221,6 +11221,10 @@ 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-loadable-modules} (default: '()) +A list of objects (usually packages) to collect loadable kernel modules +from--e.g. @code{(list ddcci-driver-linux)}. + @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")}. -- cgit v1.2.3 From 8825f9955a49c3d5f31411705d7eea8fc0c271bd Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 18 Mar 2020 08:33:59 -0700 Subject: doc: Add console-font-service-type to Base Services. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/guix.texi (Base Services): Add console-font-service-type. Co-authored-by: Ludovic Courtès --- doc/guix.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 6346cf78a1..6a1d34fb09 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12286,6 +12286,23 @@ symlink: Return a service that sets the host name to @var{name}. @end deffn +@defvr {Scheme Variable} console-font-service-type +Install the given fonts on the specified ttys (fonts are per +virtual console on the kernel Linux). The value of this service is a list of +tty/font pairs. The font can be the name of a font provided by the @code{kbd} +package or any valid argument to @command{setfont}, as in this example: + +@lisp +`(("tty1" . "LatGrkCyr-8x16") + ("tty2" . ,(file-append + font-tamzen + "/share/kbd/consolefonts/TamzenForPowerline10x20.psf")) + ("tty3" . ,(file-append + font-terminus + "/share/consolefonts/ter-132n"))) ; for HDPI +@end lisp +@end defvr + @deffn {Scheme Procedure} login-service @var{config} Return a service to run login according to @var{config}, a @code{} object, which specifies the message of the day, -- cgit v1.2.3 From 1a5443e86b99ce39508f38bf211970f3ae4ada7f Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Mon, 23 Mar 2020 18:27:34 +0100 Subject: doc: Fix typo in example. * doc/guix.texi (Invoking guix deploy): Fix example to use '%user' variable defined above. Signed-off-by: Mathieu Othacehe --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 6a1d34fb09..77a4b8ed71 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -27028,7 +27028,7 @@ be accomplished with the following operating system configuration snippet: (plain-file "sudoers" (string-append (plain-file-content %sudoers-specification) (format #f "~a ALL = NOPASSWD: ALL~%" - %username))))) + %user))))) @end lisp -- cgit v1.2.3 From 022767d7c132d20d684e0dec7c6010fdcf408e3d Mon Sep 17 00:00:00 2001 From: Naga Malleswari Date: Tue, 24 Mar 2020 11:01:52 +0530 Subject: doc: Fix typo. * doc/guix.texi (Invoking guix time-machine): Fix typo. Signed-off-by: Danny Milosavljevic --- doc/guix.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 77a4b8ed71..404a3e4777 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -75,6 +75,7 @@ Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* +Copyright @copyright{} 2020 Naga Malleswari@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -4207,7 +4208,7 @@ guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{} @end example where @var{command} and @var{arg}@dots{} are passed unmodified to the -@command{guix} command if the specified revision. The @var{options} that define +@command{guix} command of the specified revision. The @var{options} that define this revision are the same as for @command{guix pull} (@pxref{Invoking guix pull}): @table @code -- cgit v1.2.3 From 54a9fe3429fc2d3978e8f56f972e3e1d50953c6a Mon Sep 17 00:00:00 2001 From: Naga Malleswari Date: Tue, 24 Mar 2020 11:19:55 +0530 Subject: doc: Fix typo in example. * doc/guix.texi (Base Services)[file->udev-rule]: Correct misspelt "user-account". Signed-off-by: Danny Milosavljevic --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 404a3e4777..b6a9c25037 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12869,7 +12869,7 @@ well as in the @var{groups} field of the @var{operating-system} record. (operating-system ;; @dots{} - (users (cons (user-acount + (users (cons (user-account ;; @dots{} (supplementary-groups '("adbusers" ;for adb -- cgit v1.2.3 From be743fc0fd1253b5f824cdee38b0b110ef10273b Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 12 Mar 2020 09:57:26 +0100 Subject: doc: Document that a working environment for building Guix requires "--pure". * doc/guix.texi (Invoking guix environment): Document that a working environment for building Guix requires "--pure". --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index b6a9c25037..af87d76087 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4747,7 +4747,7 @@ the following command creates a Guix development environment that additionally includes Git and strace: @example -guix environment guix --ad-hoc git strace +guix environment --pure guix --ad-hoc git strace @end example Sometimes it is desirable to isolate the environment as much as -- cgit v1.2.3