Next: Fonts Home Services, Previous: Desktop Home Services, Up: Home Services [Contents][Index]
The (gnu home services guix)
module provides services for
user-specific Guix configuration.
This is the service type for managing
$XDG_CONFIG_HOME/guix/channels.scm, the file that controls the
channels received on guix pull
(see 频道). Its associated
value is a list of channel
records, defined in the (guix
channels)
module.
Generally, it is better to extend this service than to directly configure
it, as its default value is the default guix channel(s) defined by
%default-channels
. If you configure this service directly, be sure
to include a guix channel. See Specifying Additional Channels and
Using a Custom Guix Channel for more details.
A typical extension for adding a channel might look like this:
(simple-service 'variant-packages-service
home-channels-service-type
(list
(channel
(name 'variant-packages)
(url "https://example.org/variant-packages.git"))))