diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-05-30 20:29:54 +0200 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2024-05-30 22:40:54 +0100 |
commit | 8144c587f89641d5976d5b3832297d391d489fbd (patch) | |
tree | 6ddab040c65f66172fe6ac661014923334c9f24f /doc | |
parent | e51a930c5c5a8609b8656bf997ec853cc04391e7 (diff) | |
download | guix-8144c587f89641d5976d5b3832297d391d489fbd.tar.gz |
home: services: Add home-startx-command-service-type.
* gnu/home/services/desktop.scm (home-startx-command-service-type): New variable. (startx-command-service-type): New service-type mapping. * doc/guix.texi (Guix Home Services): Document home-startx-command-service-type. Change-Id: Id38b5dc7b9235e04e3a9a1b70a35b02e8fae95f0 Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 77521a3542..1224104038 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -23629,9 +23629,9 @@ etc. specified in @var{config} are available. The result should be used in place of @code{startx} and should be invoked by the user from a tty after login. Unlike @code{xorg-start-command}, this script calls xinit. Therefore it works well when executed from a tty. This script can be -set up as @code{startx} using @code{startx-command-service-type}. If -you are using a desktop environment, you are unlikely to need this -procedure. +set up as @code{startx} using @code{startx-command-service-type} or +@code{home-startx-command-service-type}. If you are using a desktop +environment, you are unlikely to need this procedure. @end deffn @@ -46264,6 +46264,15 @@ The list of expressions to be read by @code{xmodmap} on service startup. @end table @end deftp +@defvar home-startx-command-service-type +Add @command{startx} to the home profile putting it onto @env{PATH}. + +The value for this service is a @code{<xorg-configuration>} object which +is passed to the @code{xorg-start-command-xinit} procedure producing the +@command{startx} used. Default value is @code{(xorg-configuration)}. +@end defvar + + @node Guix Home Services @subsection Guix Home Services |