Guix 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 功能). Another advantage 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 own tools of the system.
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.
• 使用配置系统 | 定制你的GNU系统。 | |
• 操作系统参考 | 操作系统声明详情。 | |
• 文件系统 | 设置文件系统挂载。 | |
• 映射的设备 | 块设备额外的处理。 | |
• 用户帐号 | 指定用户帐号。 | |
• 键盘布局 | 系统怎样理解按键。 | |
• 区域 | 语言和文化惯例设置。 | |
• 服务 | 指定系统服务。 | |
• setuid程序 | 以root权限运行的程序。 | |
• X.509证书 | 认证HTTPS服务器。 | |
• Name Service Switch | 设置libc的name service switch。 | |
• 初始的内存虚拟硬盘 | Linux-Libre引导。 | |
• 引导设置 | 设置引导程序。 | |
• 调用guix system | 实例化一个系统配置。 | |
• Invoking guix deploy | Deploying a system configuration to a remote host. | |
• 在虚拟机里运行Guix | 怎样在虚拟机里运行Guix。 | |
• 定义服务 | 添加新的服务定义。 |