mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
services: greetd: Support initial-session.
* gnu/services/base.scm (<greetd-terminal-configuration>): Add initial-session-user, initial-session-command. * doc/guix.texi (Base Services): Document them. Change-Id: Iaf7a8203f34794bc36b031166e1ff7005d7a7104
This commit is contained in:
@@ -20896,6 +20896,15 @@ Make this terminal active on start of @code{greetd}.
|
||||
Whether to source @file{/etc/profile} and @file{~/.profile}, when they
|
||||
exist.
|
||||
|
||||
@item @code{initial-session-user} (default: @samp{#f})
|
||||
The user to use for running the initial session, if any.
|
||||
|
||||
@item @code{initial-session-command} (default: @code{#f})
|
||||
The command to run the first time the greeter starts up, to auto-login.
|
||||
For that to be useful, you should also set @code{initial-session-user}.
|
||||
Then, greetd will automatically log in with that user and execute that command.
|
||||
When you eventually log out again, the regular greeter will appear.
|
||||
|
||||
@item @code{default-session-user} (default: @samp{"greeter"})
|
||||
The user to use for running the greeter.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user