Skip to main content
Ctrl+K
nix.dev

Official documentation for getting things done with Nix.

Ctrl+K
  • Install Nix
  • Tutorials
    • First steps
      • Ad hoc shell environments
      • Reproducible interpreted scripts
      • Declarative shell environments
      • Towards reproducibility: pinning Nixpkgs
    • Nix language basics
    • Packaging existing software
    • Package parameters and overrides with callPackage
    • Working with local files
    • Cross compilation
    • Module system
      • 1. A basic module
      • 2. Module system deep dive
    • NixOS
      • NixOS virtual machines
      • Building a bootable ISO image
      • Building and running Docker images
      • Integration testing with NixOS virtual machines
      • Provisioning remote machines via SSH
      • Installing NixOS on a Raspberry Pi
      • Deploying NixOS using Terraform
      • Setting up an HTTP binary cache
      • Setting up distributed builds
  • Guides
    • Recipes
      • Configure Nix to use a custom binary cache
      • Automatic environments
      • Dependencies in the development shell
      • Managing remote sources
      • Python development environment
      • Setting up post-build hooks
      • Continuous integration with GitHub Actions
    • Best practices
    • Troubleshooting
    • Frequently Asked Questions
  • Reference
    • Glossary
    • Nix reference manual
      • Nix pre-release (development)
      • Nix 2.28 (latest)
      • Nix 2.24 (in Nixpkgs rolling)
      • Nix 2.24 (in Nixpkgs 24.11)
      • Nix 2.18 (in Nixpkgs 24.05)
    • Nixpkgs manual
    • NixOS manual
    • Community projects
    • Support tools
    • Further reading
    • Pinning Nixpkgs
  • Concepts
    • Flakes
    • Frequently Asked Questions
  • Contributing
    • How to contribute
    • How to get help
    • Contributing documentation
      • Documentation resources
      • Documentation framework
      • Style guide
      • How to write a tutorial
  • Acknowledgements
  • Repository
  • Suggest edit
  • Open issue
  • .md

NixOS

Contents

  • Creating NixOS images
  • Testing and deploying NixOS configurations
  • Scaling up

NixOS#

Learn how to configure, test, and install or deploy NixOS.

Creating NixOS images#

  • NixOS virtual machines

  • Building a bootable ISO image

  • Building and running Docker images

Testing and deploying NixOS configurations#

  • Integration testing with NixOS virtual machines

  • Provisioning remote machines via SSH

  • Installing NixOS on a Raspberry Pi

  • Deploying NixOS using Terraform

Scaling up#

  • Setting up an HTTP binary cache

  • Setting up distributed builds

previous

2. Module system deep dive

next

NixOS virtual machines

Contents
  • Creating NixOS images
  • Testing and deploying NixOS configurations
  • Scaling up

By the Nix documentation team and contributors.

© Copyright 2016-2025, NixOS Foundation.

OSZAR »