Home Explore Blog Models CI



nixpkgs

1st chunk of `nixos/doc/manual/configuration/configuration.md`
3dbe86261170031c1eb85a77e73940dd7821e1cc37e531ee00000001000002ee
# Configuration {#ch-configuration}

This chapter describes how to configure various aspects of a NixOS machine through the configuration file {file}`/etc/nixos/configuration.nix`. As described in [](#sec-changing-config), changes to this file only take effect after you run {command}`nixos-rebuild`.

```{=include=} chapters
config-syntax.chapter.md
package-mgmt.chapter.md
user-mgmt.chapter.md
file-systems.chapter.md
x-windows.chapter.md
wayland.chapter.md
gpu-accel.chapter.md
xfce.chapter.md
networking.chapter.md
linux-kernel.chapter.md
subversion.chapter.md
```

```{=include=} chapters
@MODULE_CHAPTERS@
```

```{=include=} chapters
profiles.chapter.md
mattermost.chapter.md
kubernetes.chapter.md
```
<!-- Apache; libvirtd virtualisation -->

Title: NixOS Configuration
Summary
This chapter describes how to configure a NixOS machine using the `/etc/nixos/configuration.nix` file. It highlights that all changes made to this configuration file require running `nixos-rebuild` to take effect. The chapter further lists a variety of specific configuration topics covered, including package management, user management, file systems, X Windows, Wayland, GPU acceleration, networking, the Linux kernel, and applications like Subversion, Mattermost, and Kubernetes.