Home Explore Blog CI



nixpkgs

nixos/doc/manual/configuration/configuration.md
41290855d5bfdf5123f0fd0570b3051f9e5f956ee16a4d8500000003000002ee
# 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 -->

Chunks
3d175ef9 (1st chunk of `nixos/doc/manual/configuration/configuration.md`)
Title: NixOS Configuration
Summary
This chapter explains how to configure a NixOS machine using the /etc/nixos/configuration.nix file. Changes to this file require running `nixos-rebuild` to take effect. The chapter covers various configuration aspects, including syntax, package management, user management, file systems, X Windows, Wayland, GPU acceleration, XFCE, networking, Linux kernel, Subversion, profiles, Mattermost, and Kubernetes.