Home Explore Blog CI



nixpkgs

1st chunk of `nixos/doc/manual/configuration/configuration.md`
3d175ef9585f7ddc71600c8a74a8532a2040cd9f79bd845f00000001000002ee
# 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 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.