diff options
author | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2023-03-05 18:31:58 +0100 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-03-16 14:33:16 +0100 |
commit | 70056b1b2beebbc9f8ea2c34eacc57f379368ab3 (patch) | |
tree | 2a82fb3eb7a4ce02add653f7f4197b7c811f2e92 /doc | |
parent | 193f547ca35eb49ef57bd9a25b67cb3965f10b03 (diff) | |
download | guix-70056b1b2beebbc9f8ea2c34eacc57f379368ab3.tar.gz |
gnu: home: services: Add home-kodi-service-type.
* gnu/home/services/media.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * po/guix/POTFILES.in: Likewise. * doc/guix.texi (Media Home Services): Document it in new subsection.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index a823d5f27d..79f098c114 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41706,6 +41706,7 @@ services)}. * Fonts: Fonts Home Services. Services for managing User's fonts. * Sound: Sound Home Services. Dealing with audio. * Messaging: Messaging Home Services. Services for managing messaging. +* Media: Media Home Services. Services for managing media. @end menu @c In addition to that Home Services can provide @@ -42834,6 +42835,42 @@ znc} for more information. @end table @end deftp +@node Media Home Services +@subsection Media Home Services + +@cindex kodi +The @uref{https://kodi.tv, KODI media center} can be run as a daemon on +a media server. With the @code{(gnu home services kodi)} service, you +can configure KODI to run upon login. + +Here is an example of a service and its configuration that you could add +to the @code{services} field of your @code{home-environment}: + +@lisp +(service home-kodi-service-type + (home-kodi-configuration + (extra-options '("--settings="<settings-file>")))) +@end lisp + +@defvr {Scheme Variable} home-kodi-service-type +This is the type of the @code{git daemon} home service, whose value is an +@code{home-kodi-configuration} object. +@end defvr + +@deftp {Data Type} home-kodi-configuration +Available @code{home-kodi-configuration} fields are: + +@table @asis +@item @code{git} (default: @code{git}) (type: file-like) +The git package to use. + +@item @code{extra-options} (default: @code{'()}) +Extra options will be passed to @command{kodi}, please run @command{man +kodi} for more information. + +@end table +@end deftp + @node Invoking guix home @section Invoking @command{guix home} |