Nix 101 Course / Section 2: The Nix language
Premium

2.1 Why a config language has functions

Lesson 6 of 37 · 9:32

placeholder thumbnail

Sign in to watch this lesson

About this lesson

Think of Nix as "JSON with functions". In a couple of minutes you'll see why a real language beats static templates for configuration — and why that single design decision is what makes everything else in Nix possible. The natural answer to "why not just YAML?"