Next: Sound Home Services, Previous: Guix Home Services, Up: Home Services [Contents][Index]
(gnu home services fontutils) module provides services for
user-specific Fontconfig setup. The
library is used by many applications to access fonts on the system.
This is the service type for generating configurations for Fontconfig. Its associated value is a list of strings (or gexps) pointing to fonts locations.
Generally, it is better to extend this service than to directly configure it, as its default value is the default Guix Home’s profile font installation path (~/.guix-home/profile/share/fonts). If you configure this service directly, be sure to include the above directory.
A typical extension for adding an additional font directory might look like this:
(simple-service 'additional-fonts-service home-fontconfig-service-type (list "~/.nix-profile/share/fonts"))