guix-home-manager/doc/home.md

home.md

Using the Home Manager

Installing a new Configuration

You should create a file that contains your home configuration. This file can easily be kept in version control with git for instance. The file looks like this:

(use-modules (home))

(home "/data/alice" '())

Home Reference

Scheme Procedure: (use-home-modules module-name ...)

Import home modules with name module-name. For instance,

(use-home-modules openbox hexchat)

is equivalent to:

(use-modules (home openbox)
             (home hexchat))

Data Type: home

This data type represents the configuration of a home directory. It is the type of the data a home configuration file must return. It is composed of the following fields:

By default, when no base-configuration is given, the configuration contains instructions for these symlinks to be created:

Data Type: base-home-configuration

This is the type of a basic home directory configuration that contains information for basic required configurations. It contains the following fields:

Scheme Variable: root-home-type

The type of the root service, to which every service is folded. Its value is an association list that associates paths relative to the home directory with a path in the filesystem or a file-like object.

It also contains a default extension point, whose value must be an association list that is concatenated to the already configured association list.