From 1fb4c399ea14aeeaa559bdd600da77ed2869c43b Mon Sep 17 00:00:00 2001 From: Fabio Natali Date: Thu, 8 Aug 2024 23:21:43 +0100 Subject: home: services: Add home-beets-service-type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/home/services/music.scm: New file. * gnu/local.mk: Add this. * doc/guix.texi: Document this. Change-Id: Idc23a68276cb3fb07733bb38bc38b1c5a63c1d6a Signed-off-by: Ludovic Courtès --- doc/guix.texi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'doc/guix.texi') diff --git a/doc/guix.texi b/doc/guix.texi index fd297f1b49..19d9337dcc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -129,6 +129,7 @@ Copyright @copyright{} 2024 Matthew Trzcinski@* Copyright @copyright{} 2024 Richard Sent@* Copyright @copyright{} 2024 Dariqq@* Copyright @copyright{} 2024 Denis 'GNUtoo' Carikli@* +Copyright @copyright{} 2024 Fabio Natali@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -47110,6 +47111,38 @@ documentation of the system service (@pxref{Networking Services, This section lists Home services that lack a better place. +@subsubheading Beets Service + +@cindex Beets service, for Home +The @code{(gnu home services music)} module provides the following +service: + +@defvar home-beets-service-type +@uref{https://beets.io, Beets} is a music file and metadata manager +that can be used via its command-line interface, @command{beet}. Beets +requires a YAML configuration file and this Guix Home service is to +create such file. +@end defvar + +The service can be used as follows: + +@lisp +(service home-beets-service-type + (home-beets-configuration (directory "/home/alice/music"))) +@end lisp + +Additional options can be specified via the service wild-card field +@code{extra-options}: + +@lisp +(service home-beets-service-type + (home-beets-configuration + (directory "/home/alice/music") + (extra-options '(" +import: + move: yes")))) +@end lisp + @subsubheading Dictionary Service @cindex dictionary service, for Home -- cgit v1.2.3