services: Rename field in greetd-terminal-configuration record.

This was erroneously renamed during the review of commit
ee0d1b144c ("services: greetd: Improve greeter configurations.").  The field
*adds* to the intrinsic requirements of the service, so the 'extra-' prefixes
communicates this better.

* gnu/services/base.scm (<greetd-terminal-configuration>): Rename
shepherd-requirement field to extra-shepherd-requirement.
* doc/guix.texi (Base Services): Adjust doc accordingly.

Change-Id: I4b970bdd63864ed86d61fde9cad2487a293417ce
This commit is contained in:
Maxim Cournoyer 2025-02-07 17:40:58 +09:00
parent 4d9eea998b
commit e8185fc4d5
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 7 additions and 7 deletions

View file

@ -20571,9 +20571,9 @@ Configuration record for per terminal greetd daemon service.
@item @code{greetd} (default: @code{greetd})
The greetd package to use.
@item @code{shepherd-requirement} (default: @code{'()})
This option can be used to provide a list of additional symbols naming
Shepherd services that this service will depend on, such as
@item @code{extra-shepherd-requirement} (default: @code{'()})
This option can be used to provide a list of @emph{additional} symbols
naming Shepherd services that this service will depend on, such as
@code{'seatd} or @code{'elogind} when the terminal session is a
graphical greeter.
@ -20718,7 +20718,7 @@ Here is an example of a greetd configuration that uses wlgreet and Sway:
(terminals
(list (greetd-terminal-configuration
;; Sway requires seatd service.
(shepherd-requirement '(seatd))
(extra-shepherd-requirement '(seatd))
(terminal-vt "1")
(terminal-switch #t)
(default-session-command
@ -20740,7 +20740,7 @@ follows:
(terminals
(list (greetd-terminal-configuration
;; Sway requires the seatd service.
(shepherd-requirement '(seatd))
(extra-shepherd-requirement '(seatd))
(terminal-vt "1")
(terminal-switch #t)
(default-session-command