This section documents work-in-progress. As such it may be incomplete, outdated, or open to discussions. Please discuss it on firstname.lastname@example.org.
The GNU system supports a consistent whole-system configuration mechanism. By that we mean that all aspects of the global system configuration—such as the available system services, timezone and locale settings, user accounts—are declared in a single place. Such a system configuration can be instantiated—i.e., effected.
One of the advantages of putting all the system configuration under the control of Guix is that it supports transactional system upgrades, and makes it possible to roll-back to a previous system instantiation, should something go wrong with the new one (see Features). Another one is that it makes it easy to replicate the exact same configuration across different machines, or at different points in time, without having to resort to additional administration tools layered on top of the system’s own tools.
This section describes this mechanism. First we focus on the system administrator’s viewpoint—explaining how the system is configured and instantiated. Then we show how this mechanism can be extended, for instance to support new system services.
|• Using the Configuration System:||Customizing your GNU system.|
|• Invoking guix system:||Instantiating a system configuration.|
|• Defining Services:||Adding new service definitions.|