Tutorials#
These sections contains series of lessons to get started.
- First steps
- Nix language basics
- Packaging existing software
- Working with local files
- NixOS
- Cross compilation
- Module system deep dive
- Overview
- The empty module
- Module arguments
- Declaring options
- Evaluating modules
- Type checking
- Interlude: reproducible scripts
- Declaring more options
- Dependencies between options
- Conditional definitions
- Default values
- Wrapping shell commands
- Splitting modules
- The
submodule
type - Defining options in other modules
- Nested submodules
- The
strMatching
type - Functions as submodule arguments
- The
either
andenum
types - The
pathType
submodule - The
between
constraint on integer values - The
pathStyle
submodule - Path styling: color
- Further styling
- Wrapping up