diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-12-13 23:43:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-01-16 22:32:11 +0100 |
commit | 80049d6e9c77e504727cf8c5ce9563a5b6ecde21 (patch) | |
tree | a14877f4f00ce909fe8ce71701f25a1ffca366d2 | |
parent | 0aa45f18543552f2396414ab130dab40f8969d27 (diff) |
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
-rw-r--r-- | doc/guix.texi | 2 | ||||
-rw-r--r-- | gnu/home.scm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index be7472714c..0015d739bb 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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 diff --git a/gnu/home.scm b/gnu/home.scm index 042d2e67de..3b479f64f9 100644 --- a/gnu/home.scm +++ b/gnu/home.scm @@ -80,7 +80,7 @@ (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." |