home: Add log rotation to ‘%base-home-services’.

* gnu/home.scm (%base-home-services): Add instance of
‘home-log-rotation-service-type’.
* doc/guix.texi (Shepherd Home Service): Document it.

Change-Id: I00a98da100e3a07fe409f3c44d8ab88e743a8e3e
This commit is contained in:
Ludovic Courtès 2024-12-13 23:43:57 +01:00
parent 0aa45f1854
commit 80049d6e9c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 3 additions and 1 deletions

View file

@ -47310,6 +47310,8 @@ This is the service type for the user Shepherd log rotation service
Its value must be a @code{log-rotation-configuration} record, exactly as
for its system-wide counterpart. @xref{log-rotation-configuration}, for
its reference.
This service is part of @code{%base-home-services}.
@end defvar
@node Secure Shell

View file

@ -80,7 +80,7 @@ (define-record-type* <home-environment> home-environment
(define %base-home-services
;; Non-essential but useful services to have by default.
'())
(list (service home-log-rotation-service-type)))
(define (home-environment-default-essential-services he)
"Return the list of essential services for home environment."