awesome-nix
Nix guidebook
A curated collection of Nix resources and tutorials for developers
😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]
3k stars
71 watching
155 forks
last commit: 11 months ago
Linked from 4 awesome lists
awesomeawesome-listlistsnixnixos
Awesome Nix / Resources / Learning | |||
| Building a Rust service with Nix | An in-depth blog series about creating a Rust application with Nix | ||
| Explainix | Explain Nix syntax visually | ||
| How to Learn Nix | It's like a Let's Play, but for obscure software documentation | ||
| Nix - A One Pager | A one page introduction to the Nix language | ||
| Nix from First Principles: Flake Edition | A modern crash-course to using Nix features, Flakes, and developing with Nix | ||
| Nix in 100 Seconds | A YouTube video from Fireship presenting Nix in 100 seconds | ||
| Nix Notes | 56 | almost 3 years ago | A collection of short notes about Nix, each contributing to the same virtual machine image |
| Nix Pills | The best way to learn, with examples | ||
| Nix Shorts | 17 | almost 2 years ago | A collection of short notes about how to use Nix, updated for Nix Flakes |
| nix.dev | An opinionated guide for developers about getting things done using the Nix ecosystem | ||
| NixOS & Flakes Book | 2,127 | 11 months ago | An unofficial and opinionated NixOS & Flakes book for beginners |
| NixOS Asia Tutorial Series | A series of high-level tutorials on using Nix Flakes, NixOS, home-manager, etc | ||
| Tour of Nix | An online interactive tutorial on Nix language constructs | ||
| Wombat's Book of Nix | A book-length introduction to Nix and flakes | ||
| Zero to Nix | A flake-centric guide to Nix and its concepts created by Determinate Systems to quickly onboard beginners | ||
Awesome Nix / Resources / Discovery | |||
| Nix Package Versions | Find all versions of a package that were available in a channel and the revision you can download it from | ||
| Noogle | Nix API search engine allowing to search functions based on their types and other attributes | ||
| Home Manager Option Search | Search through all 2000+ Home Manager options and read how to use them | ||
| NüschtOS Search | 57 | 11 months ago | Simple and fast static-page NixOS option search |
| Searchix | Search Nix packages and options from NixOS, Darwin and Home Manager | ||
Awesome Nix / Installation Media | |||
| nixos-anywhere | 1,738 | 11 months ago | Install NixOS everywhere via SSH |
| nixos-generators | 1,892 | 11 months ago | Take a NixOS config and build multiple different images types including VirtualBox VMs, Azure images, and installation ISOs |
| nixos-infect | 1,418 | over 1 year ago | Replace a running non-NixOS Linux host with NixOS |
| nixos-up | 237 | about 1 year ago | Super easy NixOS installer that can be used from the installation ISO |
| nix-installer | 2,356 | 11 months ago | Opinionated alternative to the official Nix install scripts |
| nix-installer-scripts | 91 | about 2 years ago | Runs the official installer but does some tweaking as well such as adding fcontext for selinux and installing nix outside of the default profile so you don't accidently uninstall it |
Awesome Nix / Channel History | |||
| Channel History | Get historical git commits for Nix channels | ||
| Nix Infra Status | Get the age and current git commit of each Nix channel | ||
| Nix Review Tools Reports | Reports showing problematic dependencies (dependencies causing the most failed builds) for major Hydra jobsets | ||
| nixpkgs PR tracker | A tracker for whether a PR has made it into a channel yet | ||
Awesome Nix / Deployment Tools | |||
| bento | 256 | about 1 year ago | A KISS deployment tool to keep your NixOS fleet (servers & workstations) up to date |
| Colmena | 1,292 | 11 months ago | A simple, stateless NixOS deployment tool modeled after NixOps and morph |
| comin | 497 | 12 months ago | A deployment tool to continuously pull from Git repositories |
| deploy-rs | 1,429 | 11 months ago | A simple multi-profile Nix-flake deploy tool |
| krops | A lightweight toolkit to deploy NixOS systems, remotely or locally | ||
| KubeNix | 323 | over 1 year ago | A Kubernetes resource builder using Nix |
| KuberNix | 767 | almost 3 years ago | Single-dependency Kubernetes clusters via Nix packages |
| morph | 844 | 11 months ago | A tool for managing existing NixOS hosts |
| Nixery | 1,829 | over 1 year ago | A Docker-compatible container registry which builds images ad-hoc via Nix |
| Nixinate | 247 | over 1 year ago | A Nix flake library to provide app outputs for managing existing NixOS hosts over SSH |
| NixOps | 1,870 | over 1 year ago | The official Nix deployment tool, compatible with AWS, Hetzner, and more |
| pushnix | 34 | almost 5 years ago | Simple cli utility that pushes NixOS configuration and triggers a rebuild using ssh |
| terraform-nixos | 345 | over 1 year ago | A set of Terraform modules designed to deploy NixOS |
| terranix | Use Nix and the NixOS module system to write your Terraform code | ||
Awesome Nix / Virtualisation | |||
| nixos-shell | 692 | 12 months ago | Simple headless VM configuration using Nix (similar to Vagrant) |
| extra-container | 220 | 11 months ago | Run declarative NixOS containers from the command line |
| microvm | 1,467 | 11 months ago | NixOS-based MicroVMs |
Awesome Nix / Command-Line Tools | |||
| alejandra | 878 | 11 months ago | An opinionated Nix code formatter optimized for speed and consistency |
| comma | 1,146 | 12 months ago | Quickly run any binary; wraps together and |
| deadnix | 518 | 11 months ago | Scan Nix files for dead code |
| devenv | 4,611 | 11 months ago | A Nix-based tool for creating developer shell environments quickly and reproducibly |
| manix | 364 | almost 2 years ago | Find configuration options and function documentation for Nixpkgs, NixOS, and Home Manager |
| nh | 1,107 | 11 months ago | Better output for and home-manger CLI using and |
| nixfmt | 949 | 11 months ago | A formatter for Nix code, intended to easily apply a uniform style |
| nixpkgs-fmt | 581 | over 1 year ago | Nix code formatter for nixpkgs |
| nixpkgs-hammering | 254 | over 1 year ago | An opinionated linter for Nixpkgs package expressions |
| nix-alien | 546 | 11 months ago | Run unpatched binaries on Nix/NixOS easily |
| nix-diff | 369 | about 1 year ago | A tool to explain why two Nix derivations differ |
| nix-du | 395 | over 1 year ago | Visualise which gc-roots to delete to free some space in your Nix store |
| nix-index | 883 | over 1 year ago | Quickly locate Nix packages with specific files |
| nix-init | 934 | 11 months ago | Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more |
| nix-melt | 242 | 11 months ago | A ranger-like flake.lock viewer |
| nix-output-monitor | 956 | 11 months ago | A tool to produce useful graphs and statistics when building derivations |
| nix-prefetch | 126 | over 2 years ago | A universal tool for updating source checksums |
| nix-tree | 781 | about 1 year ago | Interactively browse the dependency graph of Nix derivations |
| nurl | 494 | 11 months ago | Generate Nix fetcher calls from repository URLs |
| nvd | Diff package versions between two store paths; it's especially useful for comparing NixOS generations on rebuild | ||
| statix | 583 | 11 months ago | A linter/fixer to check for and fix antipatterns in Nix code |
Awesome Nix / Development | |||
| attic | 1,089 | 11 months ago | Multi-tenant Nix Binary Cache |
| Arion | 694 | 11 months ago | Run with help from Nix/NixOS |
| cached-nix-shell | 209 | 12 months ago | A replacement that uses caching to open subsequent shells quickly |
| Cachix | Hosted binary cache service; free for open-source projects | ||
| compose2nix | 421 | 12 months ago | Generate a NixOS config from a Docker Compose project |
| Devbox | 8,962 | 11 months ago | Instant, portable, and predictable development environments |
| devshell | 1,275 | about 1 year ago | with extra bits and a toml config option to be able to onboard non-nix users |
| dream2nix | 1,050 | 11 months ago | A framework for automatically converting packages from other build systems to Nix |
| flake.parts | 791 | 11 months ago | Minimal Nix modules framework for Flakes: split your flakes into modules and get things done with community modules |
| flake-utils | 1,227 | 12 months ago | Pure Nix flake utility functions to help with writing flakes |
| flake-utils-plus | 496 | about 1 year ago | A lightweight Nix library flake for painless NixOS flake configuration |
| flakelight | 242 | 11 months ago | A modular flake framework aiming to minimize boilerplate |
| flox | 2,783 | 11 months ago | Manage and share development environments, package projects, and publish artifacts anywhere |
| gitignore.nix | 248 | over 1 year ago | The most feature-complete and easy-to-use integration |
| haumea | 303 | over 1 year ago | Filesystem-based module system for the Nix language similar to traditional programming languages, with support for file hierarchy and visibility |
| lorri | 711 | about 1 year ago | A much better for development that augments direnv |
| namaka | 113 | 11 months ago | Snapshot testing for Nix based on haumea |
| nil | 1,411 | 12 months ago | NIx Language server, an incremental analysis assistent for writing in Nix |
| niv | 1,632 | about 1 year ago | Easy dependency management for Nix projects with package pinning |
| nix-direnv | 1,914 | 11 months ago | A fast loader and flake-compliant configuration for the direnv environment auto-loader |
| nix-health | 31 | over 1 year ago | A program to check the health of your Nix install. Furthermore, individual projects can configure their own health checks in their |
| nix-update | 529 | 11 months ago | Update versions/source hashes of nix packages |
| nixd | 945 | 12 months ago | Nix language server, based on Nix libraries |
| nixpkgs-review | 417 | 11 months ago | The best tool to verify that a pull-request in Nixpkgs is building properly |
| npins | 234 | 11 months ago | A simple tool for handling different types of dependencies in a Nix project. It is inspired by and comparable to Niv |
| pre-commit-hooks.nix | 550 | 11 months ago | Run linters/formatters at commit time and on your CI |
| rnix-lsp | 709 | almost 2 years ago | A syntax-checking language server for Nix |
| robotnix | 636 | 12 months ago | A declarative and reproducible build system for Android (AOSP) images |
| services-flake | 403 | 11 months ago | A NixOS-like service configuration framework for Nix flakes |
| Snowfall Lib | 440 | 12 months ago | A library that makes it easy to manage your Nix flake by imposing an opinionated file structure |
| templates | 69 | 11 months ago | Project templates for many languages using Nix flakes |
Awesome Nix / DevOps | |||
| Makes | 461 | 11 months ago | A Nix-based CI/CD pipeline framework for building, testing, and releasing projects in any language, from anywhere |
| nixidy | 112 | about 1 year ago | Kubernetes GitOps with Nix and Argo CD |
| Nix GitLab CI | Define GitLab CI pipelines in pure Nix with full access to all Nix packages (incl. caching) | ||
| Standard | 410 | 12 months ago | An opinionated Nix Flakes framework to keep Nix code in large projects organized, accompanied by a friendly CLI/TUI optized for DevOps scenarios |
Awesome Nix / Programming Languages / Arduino | |||
| nixduino | 47 | over 3 years ago | Nix-based tool to help build Arduino sketches |
Awesome Nix / Programming Languages / Clojure | |||
| clj-nix | 157 | 11 months ago | Nix helper functions for Clojure projects |
Awesome Nix / Programming Languages / Crystal | |||
| crystal2nix | 14 | over 1 year ago | Convert into Nix expressions |
Awesome Nix / Programming Languages / Elm | |||
| elm2nix | 111 | about 1 year ago | Convert into Nix expressions |
Awesome Nix / Programming Languages / Gleam | |||
| nix-gleam | 15 | over 1 year ago | Generic Nix builder for Gleam applications |
Awesome Nix / Programming Languages / Haskell | |||
| cabal2nix | 362 | 11 months ago | Converts a Cabal file into a Nix build expression |
| haskell-flake | 160 | 11 months ago | A Nix module for Haskell development |
| haskell.nix | 565 | 11 months ago | Alternative Haskell Infrastructure for Nixpkgs |
| nix-haskell-mode | 28 | over 6 years ago | Automatic Haskell setup in Emacs |
| nixkell | 98 | 12 months ago | A Haskell project template using Nix and direnv |
Awesome Nix / Programming Languages / Haxe | |||
| haxix | 3 | about 1 year ago | Nix flake to build haxe/Heaps.io projects |
| kebab | 1 | 11 months ago | Haxe packages for Nix |
Awesome Nix / Programming Languages / Lean | |||
| lean4-nix | 18 | 11 months ago | Nix flake build for Lean 4, and |
Awesome Nix / Programming Languages / Node.js | |||
| Napalm | 105 | over 1 year ago | Support for building npm packages in Nix with a lightweight npm registry |
| node2nix | 530 | 12 months ago | Generate Nix expression from a (or ) (to be stored as files) |
| npmlock2nix | 134 | almost 2 years ago | Generate Nix expressions from a (in-memory), primarily for web projects |
Awesome Nix / Programming Languages / OCaml | |||
| opam2nix | 92 | over 1 year ago | Generate Nix expressions from opam packages |
Awesome Nix / Programming Languages / PHP | |||
| composer2nix | 88 | about 3 years ago | Generate Nix expressions to build composer packages |
| composer-plugin-nixify | 17 | over 3 years ago | Composer plugin to help with Nix packaging |
| composition-c4 | 11 | over 2 years ago | Support for building composer packages from a (using IFD) |
| nix-phps | 66 | 11 months ago | Flake containing old and unmaintained PHP versions (intended for CI use) |
| nix-shell | 161 | 11 months ago | Nix shells for PHP development |
Awesome Nix / Programming Languages / PureScript | |||
| Easy PureScript Nix | 196 | over 1 year ago | A project to easily use PureScript and other tools with Nix |
| purs-nix | 72 | 11 months ago | CLI and library combo designed for managing PureScript projects using Nix. It provides a Nix API that can be used within your projects, as well as a command-line interface for managing your development process |
Awesome Nix / Programming Languages / Python | |||
| poetry2nix | 898 | 12 months ago | Build Python packages directly from . No conversion step needed |
Awesome Nix / Programming Languages / Ruby | |||
| Bundix | 164 | over 1 year ago | Generates a Nix expression for your Bundler-managed application |
| ruby-nix | 121 | about 1 year ago | Generates reproducible ruby/bundler app environment with Nix |
Awesome Nix / Programming Languages / Rust | |||
| cargo2nix | 387 | over 1 year ago | Granular caching, development shell, Nix & Rust integration |
| crane | 972 | 11 months ago | A Nix library for building Cargo projects with incremental artifact caching |
| fenix | 726 | 11 months ago | Rust toolchains and Rust analyzer nightly for nix |
| naersk | 754 | 11 months ago | Build Rust packages directly from . No conversion step needed |
| nix-cargo-integration | 192 | 11 months ago | A library that allows easy and effortless integration for Cargo projects |
| nixpkgs-mozilla | 534 | 11 months ago | Mozilla's overlay with Rust toolchains and Firefox |
| rust-nix-templater | 49 | over 2 years ago | Generates Nix build and development files for Rust projects |
| rust-overlay | 974 | 11 months ago | Pure and reproducible nix overlay of binary distributed Rust toolchains |
Awesome Nix / Programming Languages / Scala | |||
| sbt-derivation | 64 | about 2 years ago | mkDerivation for sbt, similar to buildGoModule |
Awesome Nix / Programming Languages / Zig | |||
| zon2nix | 77 | over 1 year ago | Convert the dependencies in to a Nix expression |
Awesome Nix / NixOS Modules | |||
| base16.nix | 204 | 12 months ago | Flake way to theme programs in colorschemes, mustache template support included |
| Home Manager | 7,273 | 11 months ago | Manage your user configuration just like NixOS |
| nix-darwin | 3,321 | 11 months ago | Manage macOS configuration just like on NixOS |
| NixOS-WSL | 1,943 | 11 months ago | Modules for running NixOS on the Windows Subsystem for Linux |
| musnix | 620 | 11 months ago | Do real-time audio work in NixOS |
| NixVim | 1,845 | 11 months ago | A NeoVim distribution built with Nix modules and Nixpkgs |
| Self Host Blocks | 217 | 11 months ago | Modular server management based on NixOS modules and focused on best practices |
| Simple Nixos Mailserver | A complete mailserver, managed with NixOS modules | ||
| Stylix | 1,273 | 11 months ago | System-wide colorscheming and typography for NixOS |
| nix-bitcoin | 522 | 11 months ago | Modules and packages for Bitcoin nodes with higher-layer protocols with an emphasis on security |
| nix-mineral | 172 | 11 months ago | Conveniently and reasonably harden NixOS |
| nix-topology | 588 | 11 months ago | Generate infrastructure and network diagrams directly from your NixOS configuration |
| impermanence | 1,232 | 11 months ago | Lets you choose what files and directories you want to keep between reboots |
Awesome Nix / NixOS Configuration Editors / Desktop apps | |||
| NixOS Configuration Editor | 522 | almost 2 years ago | Graphical editor for NixOS configuration. Desktop app in Rust and GTK |
| Nix Software Center | 613 | about 1 year ago | Install and manage Nix packages. Desktop app in Rust and GTK |
Awesome Nix / NixOS Configuration Editors / Webinterface | |||
| MyNixOS | Graphical editor for Nix flakes. Create and manage configurations and modules for NixOS and Nix home-manager. Rather a Nix generator than a Nix editor, because it does not allow to import Nix files | ||
Awesome Nix / Overlays | |||
| awesome-nix-hpc | 77 | over 1 year ago | High Performance Computing package sets |
| chaotic-nyx | 374 | 11 months ago | Daily bumped bleeding edge packages like & others that aren't yet in Nixpkgs. Created by the makers of |
| nixpkgs-firefox-darwin | 53 | 11 months ago | Automatically updated Firefox binary packages for macOS |
| nixpkgs-wayland | 530 | 11 months ago | Bleeding-edge Wayland packages |
| NUR | 1,371 | 11 months ago | Nix User Repositories. The mother of all overlays, allowing access to user repositories and installing packages via attributes |
| System Manager | 808 | 11 months ago | A non-NixOS Linux system configuration tool built on Nix |
Awesome Nix / Distributions | |||
| nixbsd | 511 | 11 months ago | A NixOS fork with a FreeBSD kernel |
| NixNG | 303 | 11 months ago | A GNU/Linux distribution similar to NixOS, defining difference is a focus on containers and lightweightness |
| SnowflakeOS | A NixOS-based Linux distribution focused on beginner friendliness and ease of use | ||
Awesome Nix / Community | |||
| #nix:nixos.org | |||
| #nixos on Libera.Chat | |||
| Discord - Nix/Nixos (Unofficial) | |||
| Discourse | The best place to get help and discuss Nix-related topics | ||
| NixCon | The annual community conference for contributors and users of Nix and NixOS | ||
| Wiki (Official) | |||
| Wiki (Unofficial) | |||