about summary refs log tree commit diff
path: root/nixpkgs/nixos/doc/manual/man-pages.xml
blob: 52183f1f9ee0c6a83f4d955106cdcc308cba94e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<reference xmlns="http://docbook.org/ns/docbook"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xmlns:xi="http://www.w3.org/2001/XInclude">
 <title>NixOS Reference Pages</title>
 <info>
  <author>
   <personname><firstname>Eelco</firstname><surname>Dolstra</surname></personname>
   <contrib>Author</contrib>
  </author>
  <author>
   <personname><othername>The Nixpkgs/NixOS contributors</othername></personname>
   <contrib>Author</contrib>
  </author>
  <copyright><year>2007-2022</year><holder>Eelco Dolstra and the Nixpkgs/NixOS contributors</holder>
  </copyright>
 </info>
 <refentry>
  <refmeta>
   <refentrytitle><filename>configuration.nix</filename>
   </refentrytitle><manvolnum>5</manvolnum>
   <refmiscinfo class="source">NixOS</refmiscinfo>
 <!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
  </refmeta>
  <refnamediv>
   <refname><filename>configuration.nix</filename></refname>
   <refpurpose>NixOS system configuration specification</refpurpose>
  </refnamediv>
  <refsection>
   <title>Description</title>
   <para>
    The file <filename>/etc/nixos/configuration.nix</filename> contains the
    declarative specification of your NixOS system configuration. The command
    <command>nixos-rebuild</command> takes this file and realises the system
    configuration specified therein.
   </para>
  </refsection>
  <refsection>
   <title>Options</title>
   <para>
    You can use the following options in <filename>configuration.nix</filename>.
   </para>
   <xi:include href="./generated/options-db.xml"
             xpointer="configuration-variable-list" />
  </refsection>
 </refentry>
</reference>