nix.dev

An opinionated guide for developers getting things done using the Nix ecosystem.

  • Tutorials
    • Install Nix
    • Ad hoc developer environments
    • Reproducible interpreted scripts
    • Nix language basics
    • Towards reproducibility: pinning Nixpkgs
    • Declarative and reproducible developer environments
    • Continuous Integration with GitHub Actions
    • Set up a development environment
    • Building and running Docker images
    • Building a bootable ISO image
    • Deploying NixOS using Terraform
    • Installing NixOS on a Raspberry Pi
    • NixOS virtual machines
    • Integration testing using virtual machines (VMs)
    • Cross compilation
  • Templates
  • Anti-patterns
    • In the Nix language
  • Reference
    • Pinning Nixpkgs
  • Frequently Asked Questions
  • Recommended reading
  • Software Nix has influenced
  • Glossary
  • How to Contribute
    • Contributing Documentation
    • How to write a tutorial

Email notifications

An occasional email about new tutorials, no spam.

Sponsored by
Cachix - binary cache hosting
Tweag
Contents
  • Nix language tutorials
  • Other Articles
  • Other videos

Recommended reading

Contents

  • Nix language tutorials
  • Other Articles
  • Other videos

Recommended reading¶

Nix language tutorials¶

  • Nix language one-pager reference (Vincent Ambo, 2019-2021)

    Overview of common language features and widely used idioms.

  • A tour of Nix (Joachim Schiele, 2015-2022)

    Interactive exercises with the Nix language.

  • Video: Nix language overview (Wil Taylor, 2021)

    Overview of language features.

  • Video: Reading the Nix language (Jonas Chevalier, 2019)

    Introduction to reading Nix language code.

  • Video: How and Why it Works (Graham Christensen, 2019)

    Introduction to writing derivations.

Other Articles¶

  • Customizing packages in Nix (2022)

    An overview of different methods to customize Nix packages.

  • Manage your dot files with Home Manager (Mattia Gheda, 2021)

  • Nix Pills

    A low-level tutorial on building software packages with Nix, showing in detail how Nixpkgs is constructed.

  • Nix Shorts

    A series of posts on basics of how packaging with Nix works.

  • awesome-nix

    A collection of Nix resources.

Other videos¶

  • Nix Fundamentals (Jakub Grzegorz Sokolowski, 2020)

  • Nix Shell Overview (Wil Taylor, 2021)

  • How to update a package (Jon Ringer, 2020)

  • How to create a patch for any package (Jon Ringer, 2020)

  • Overlays (Jon Ringer, 2020)

  • Adding a module to NixOS (Jon Ringer, 2022)

  • Upgrade kernel (Jon Ringer, 2020)

previous

Frequently Asked Questions

next

Software Nix has influenced

By Domen Kožar
© Copyright 2016-1980, Domen Kožar.