Previous: , Up: Home Services   [Contents][Index]


13.3.17 Miscellaneous Home Services

This section lists Home services that lack a better place.

Beets Service

The (gnu home services music) module provides the following service:

Variable: home-beets-service-type

Beets is a music file and metadata manager that can be used via its command-line interface, beet. Beets requires a YAML configuration file and this Guix Home service is to create such file.

The service can be used as follows:

(service home-beets-service-type
         (home-beets-configuration (directory "/home/alice/music")))

Additional options can be specified via the service wild-card field extra-options:

(service home-beets-service-type
         (home-beets-configuration
          (directory "/home/alice/music")
          (extra-options '("
import:
  move: yes"))))

Создание служб

The (gnu home services dict) module provides the following service:

Variable: home-dicod-service-type

This is the type of the service that runs the dicod daemon, an implementation of DICT server (see Dicod in GNU Dico Manual).

You can add open localhost to your ~/.dico file to make localhost the default server for dico client (see Initialization File in GNU Dico Manual).

This service is a direct mapping of the dicod-service-type system service (see Dictionary Service). You can use it like this:

(service home-dicod-service-type)

You may specify a custom configuration by providing a dicod-configuration record, exactly like for dicod-service-type, but wrapping it in for-home:

(service home-dicod-service-type
         (for-home
          (dicod-configuration )))