doc: Replace some cons* with beginner-friendly (append (list ...)).
* doc/guix.texi (Base Services): Do it.
This commit is contained in:
parent
907dd32720
commit
b1c4dafbf1
|
@ -10888,9 +10888,9 @@ system, you will want to append services to @var{%base-services}, like
|
||||||
this:
|
this:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
(cons* (service avahi-service-type)
|
(append (list (service avahi-service-type)
|
||||||
(service openssh-service-type)
|
(service openssh-service-type))
|
||||||
%base-services)
|
%base-services)
|
||||||
@end example
|
@end example
|
||||||
@end defvr
|
@end defvr
|
||||||
|
|
||||||
|
@ -11520,11 +11520,12 @@ well as in the @var{groups} field of the @var{operating-system} record.
|
||||||
;; @dots{}
|
;; @dots{}
|
||||||
|
|
||||||
(services
|
(services
|
||||||
(modify-services %desktop-services
|
(modify-services %desktop-services
|
||||||
(udev-service-type config =>
|
(udev-service-type
|
||||||
(udev-configuration (inherit config)
|
config =>
|
||||||
(rules (cons* android-udev-rules
|
(udev-configuration (inherit config)
|
||||||
(udev-configuration-rules config))))))))
|
(rules (cons android-udev-rules
|
||||||
|
(udev-configuration-rules config))))))))
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@defvr {Scheme Variable} urandom-seed-service-type
|
@defvr {Scheme Variable} urandom-seed-service-type
|
||||||
|
|
Loading…
Reference in New Issue