services: base: Deprecate 'host-name-service' procedure.

* doc/guix.texi (operating-system Reference): Reorder cross-reference.
Add an anchor to be used ...
(Base services): ... here by host-name-service-type. Document
host-name-service-type.
* gnu/services/base.scm: Export host-name-service-type.
(host-name-service): Deprecate procedure.
* gnu/system.scm (operating-system-default-essential-services): Use
host-name-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Bruno Victal 2023-02-25 18:57:47 +00:00 committed by Ludovic Courtès
parent c6480edbe3
commit cb00e600ff
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 15 additions and 9 deletions

View file

@ -782,7 +782,7 @@ bookkeeping."
(operating-system-file-systems os)))
(session-environment-service
(operating-system-environment-variables os))
(host-name-service host-name)
(service host-name-service-type host-name)
procs root-fs
(service setuid-program-service-type
(operating-system-setuid-programs os))