diff options
author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-06-22 02:29:02 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-07-12 02:39:54 +0200 |
commit | 72996cd573f90aeaec88fa1de9f2382b96a7864d (patch) | |
tree | 87dba8da35a90e51cd3a45db357a272a25606198 /doc/guix.texi | |
parent | 227fb11eb3b74213664d3df9380180b32030e07c (diff) |
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
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index aa6562e984..5725a09364 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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. |