diff options
author | Robin Gloster <mail@glob.in> | 2018-05-02 13:12:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 13:12:57 +0200 |
commit | fe9096ef09f325d31186dcc8ed70cba805db9a01 (patch) | |
tree | 0716433968e4e098e802870e983477b63c7ba3e9 /nixos/doc/manual/configuration/config-syntax.xml | |
parent | afd3136e8efe2cbd477cb6db7be5ad7b2eb7efc6 (diff) | |
parent | 78f09c9102aca07e7f837fbc1ca8394b59bb741e (diff) | |
download | nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.tar nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.tar.gz nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.tar.bz2 nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.tar.lz nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.tar.xz nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.tar.zst nixpkgs-fe9096ef09f325d31186dcc8ed70cba805db9a01.zip |
Merge branch 'master' into docker-registry-enhancements
Diffstat (limited to 'nixos/doc/manual/configuration/config-syntax.xml')
-rw-r--r-- | nixos/doc/manual/configuration/config-syntax.xml | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/nixos/doc/manual/configuration/config-syntax.xml b/nixos/doc/manual/configuration/config-syntax.xml index 87847f8451e..5ef498cf9ae 100644 --- a/nixos/doc/manual/configuration/config-syntax.xml +++ b/nixos/doc/manual/configuration/config-syntax.xml @@ -3,25 +3,23 @@ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="sec-configuration-syntax"> - -<title>Configuration Syntax</title> - -<para>The NixOS configuration file -<filename>/etc/nixos/configuration.nix</filename> is actually a -<emphasis>Nix expression</emphasis>, which is the Nix package -manager’s purely functional language for describing how to build -packages and configurations. This means you have all the expressive -power of that language at your disposal, including the ability to -abstract over common patterns, which is very useful when managing -complex systems. The syntax and semantics of the Nix language are -fully described in the <link + <title>Configuration Syntax</title> + <para> + The NixOS configuration file + <filename>/etc/nixos/configuration.nix</filename> is actually a <emphasis>Nix + expression</emphasis>, which is the Nix package manager’s purely functional + language for describing how to build packages and configurations. This means + you have all the expressive power of that language at your disposal, + including the ability to abstract over common patterns, which is very useful + when managing complex systems. The syntax and semantics of the Nix language + are fully described in the + <link xlink:href="http://nixos.org/nix/manual/#chap-writing-nix-expressions">Nix -manual</link>, but here we give a short overview of the most important -constructs useful in NixOS configuration files.</para> - -<xi:include href="config-file.xml" /> -<xi:include href="abstractions.xml" /> -<xi:include href="modularity.xml" /> -<xi:include href="summary.xml" /> - + manual</link>, but here we give a short overview of the most important + constructs useful in NixOS configuration files. + </para> + <xi:include href="config-file.xml" /> + <xi:include href="abstractions.xml" /> + <xi:include href="modularity.xml" /> + <xi:include href="summary.xml" /> </chapter> |