Overview of the Nix Language

From NixOS Wiki
Revision as of 17:58, 18 April 2024 by Klinger (talk | contribs) (Removed the quote (there have been two links to the manual directly behind each other. Added a sentence about what is written in Nix.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Nix language is designed for conveniently creating and composing derivations – precise descriptions of how contents of existing files are used to derive new files.

Note: Check the Nix Reference Manual on the Nix Language for up-to-date documentation and Nix language basics for a gentle introduction.

The .nix files are scripted the Nix language. While being a NixOS user doesn't demand complete mastery of Nix, customizing code snippets is necessary.

See also