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]

GitHub

3k stars
71 watching
155 forks
last commit: about 1 month 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 about 2 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 12 months 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 about 1 month 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 about 1 month 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 about 1 month ago Install NixOS everywhere via SSH
nixos-generators 1,892 about 1 month ago Take a NixOS config and build multiple different images types including VirtualBox VMs, Azure images, and installation ISOs
nixos-infect 1,418 7 months ago Replace a running non-NixOS Linux host with NixOS
nixos-up 237 3 months ago Super easy NixOS installer that can be used from the installation ISO
nix-installer 2,356 about 1 month ago Opinionated alternative to the official Nix install scripts
nix-installer-scripts 91 about 1 year 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 3 months ago A KISS deployment tool to keep your NixOS fleet (servers & workstations) up to date
Colmena 1,292 about 1 month ago A simple, stateless NixOS deployment tool modeled after NixOps and morph
comin 497 2 months ago A deployment tool to continuously pull from Git repositories
deploy-rs 1,429 about 1 month ago A simple multi-profile Nix-flake deploy tool
krops A lightweight toolkit to deploy NixOS systems, remotely or locally
KubeNix 323 7 months ago A Kubernetes resource builder using Nix
KuberNix 767 almost 2 years ago Single-dependency Kubernetes clusters via Nix packages
morph 844 about 1 month ago A tool for managing existing NixOS hosts
Nixery 1,829 11 months ago A Docker-compatible container registry which builds images ad-hoc via Nix
Nixinate 247 8 months ago A Nix flake library to provide app outputs for managing existing NixOS hosts over SSH
NixOps 1,870 9 months ago The official Nix deployment tool, compatible with AWS, Hetzner, and more
pushnix 34 about 4 years ago Simple cli utility that pushes NixOS configuration and triggers a rebuild using ssh
terraform-nixos 345 6 months 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 about 2 months ago Simple headless VM configuration using Nix (similar to Vagrant)
extra-container 220 about 1 month ago Run declarative NixOS containers from the command line
microvm 1,467 about 1 month ago NixOS-based MicroVMs

Awesome Nix / Command-Line Tools

alejandra 878 about 1 month ago An opinionated Nix code formatter optimized for speed and consistency
comma 1,146 about 2 months ago Quickly run any binary; wraps together and
deadnix 518 about 1 month ago Scan Nix files for dead code
devenv 4,611 about 1 month ago A Nix-based tool for creating developer shell environments quickly and reproducibly
manix 364 12 months ago Find configuration options and function documentation for Nixpkgs, NixOS, and Home Manager
nh 1,107 about 1 month ago Better output for and home-manger CLI using and
nixfmt 949 about 1 month ago A formatter for Nix code, intended to easily apply a uniform style
nixpkgs-fmt 581 6 months ago Nix code formatter for nixpkgs
nixpkgs-hammering 254 8 months ago An opinionated linter for Nixpkgs package expressions
nix-alien 546 about 1 month ago Run unpatched binaries on Nix/NixOS easily
nix-diff 369 3 months ago A tool to explain why two Nix derivations differ
nix-du 395 6 months ago Visualise which gc-roots to delete to free some space in your Nix store
nix-index 883 6 months ago Quickly locate Nix packages with specific files
nix-init 934 about 1 month ago Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more
nix-melt 242 about 1 month ago A ranger-like flake.lock viewer
nix-output-monitor 956 about 2 months ago A tool to produce useful graphs and statistics when building derivations
nix-prefetch 126 almost 2 years ago A universal tool for updating source checksums
nix-tree 781 3 months ago Interactively browse the dependency graph of Nix derivations
nurl 494 about 1 month 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 about 2 months ago A linter/fixer to check for and fix antipatterns in Nix code

Awesome Nix / Development

attic 1,089 about 1 month ago Multi-tenant Nix Binary Cache
Arion 694 about 1 month ago Run with help from Nix/NixOS
cached-nix-shell 209 about 2 months ago A replacement that uses caching to open subsequent shells quickly
Cachix Hosted binary cache service; free for open-source projects
compose2nix 421 about 2 months ago Generate a NixOS config from a Docker Compose project
Devbox 8,962 about 1 month ago Instant, portable, and predictable development environments
devshell 1,275 3 months ago with extra bits and a toml config option to be able to onboard non-nix users
dream2nix 1,050 about 1 month ago A framework for automatically converting packages from other build systems to Nix
flake.parts 791 about 1 month ago Minimal Nix modules framework for Flakes: split your flakes into modules and get things done with community modules
flake-utils 1,227 2 months ago Pure Nix flake utility functions to help with writing flakes
flake-utils-plus 496 2 months ago A lightweight Nix library flake for painless NixOS flake configuration
flakelight 242 about 1 month ago A modular flake framework aiming to minimize boilerplate
flox 2,783 about 1 month ago Manage and share development environments, package projects, and publish artifacts anywhere
gitignore.nix 248 11 months ago The most feature-complete and easy-to-use integration
haumea 303 8 months ago Filesystem-based module system for the Nix language similar to traditional programming languages, with support for file hierarchy and visibility
lorri 711 5 months ago A much better for development that augments direnv
namaka 113 about 1 month ago Snapshot testing for Nix based on haumea
nil 1,411 about 2 months ago NIx Language server, an incremental analysis assistent for writing in Nix
niv 1,632 3 months ago Easy dependency management for Nix projects with package pinning
nix-direnv 1,914 about 1 month ago A fast loader and flake-compliant configuration for the direnv environment auto-loader
nix-health 31 6 months 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 about 1 month ago Update versions/source hashes of nix packages
nixd 945 about 2 months ago Nix language server, based on Nix libraries
nixpkgs-review 417 about 1 month ago The best tool to verify that a pull-request in Nixpkgs is building properly
npins 234 about 1 month 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 about 1 month ago Run linters/formatters at commit time and on your CI
rnix-lsp 709 about 1 year ago A syntax-checking language server for Nix
robotnix 636 about 2 months ago A declarative and reproducible build system for Android (AOSP) images
services-flake 403 about 1 month ago A NixOS-like service configuration framework for Nix flakes
Snowfall Lib 440 about 2 months ago A library that makes it easy to manage your Nix flake by imposing an opinionated file structure
templates 69 about 1 month ago Project templates for many languages using Nix flakes

Awesome Nix / DevOps

Makes 461 about 1 month ago A Nix-based CI/CD pipeline framework for building, testing, and releasing projects in any language, from anywhere
nixidy 112 2 months 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 2 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 2 years ago Nix-based tool to help build Arduino sketches

Awesome Nix / Programming Languages / Clojure

clj-nix 157 about 1 month ago Nix helper functions for Clojure projects

Awesome Nix / Programming Languages / Crystal

crystal2nix 14 7 months ago Convert into Nix expressions

Awesome Nix / Programming Languages / Elm

elm2nix 111 4 months ago Convert into Nix expressions

Awesome Nix / Programming Languages / Gleam

nix-gleam 15 8 months ago Generic Nix builder for Gleam applications

Awesome Nix / Programming Languages / Haskell

cabal2nix 362 about 1 month ago Converts a Cabal file into a Nix build expression
haskell-flake 160 about 1 month ago A Nix module for Haskell development
haskell.nix 565 about 1 month ago Alternative Haskell Infrastructure for Nixpkgs
nix-haskell-mode 28 over 5 years ago Automatic Haskell setup in Emacs
nixkell 98 2 months ago A Haskell project template using Nix and direnv

Awesome Nix / Programming Languages / Haxe

haxix 3 5 months ago Nix flake to build haxe/Heaps.io projects
kebab 1 about 1 month ago Haxe packages for Nix

Awesome Nix / Programming Languages / Lean

lean4-nix 18 about 1 month ago Nix flake build for Lean 4, and

Awesome Nix / Programming Languages / Node.js

Napalm 105 7 months ago Support for building npm packages in Nix with a lightweight npm registry
node2nix 530 2 months ago Generate Nix expression from a (or ) (to be stored as files)
npmlock2nix 134 12 months ago Generate Nix expressions from a (in-memory), primarily for web projects

Awesome Nix / Programming Languages / OCaml

opam2nix 92 6 months ago Generate Nix expressions from opam packages

Awesome Nix / Programming Languages / PHP

composer2nix 88 over 2 years ago Generate Nix expressions to build composer packages
composer-plugin-nixify 17 over 2 years ago Composer plugin to help with Nix packaging
composition-c4 11 over 1 year ago Support for building composer packages from a (using IFD)
nix-phps 66 about 1 month ago Flake containing old and unmaintained PHP versions (intended for CI use)
nix-shell 161 about 1 month ago Nix shells for PHP development

Awesome Nix / Programming Languages / PureScript

Easy PureScript Nix 196 10 months ago A project to easily use PureScript and other tools with Nix
purs-nix 72 about 1 month 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 2 months ago Build Python packages directly from . No conversion step needed

Awesome Nix / Programming Languages / Ruby

Bundix 164 7 months ago Generates a Nix expression for your Bundler-managed application
ruby-nix 121 3 months ago Generates reproducible ruby/bundler app environment with Nix

Awesome Nix / Programming Languages / Rust

cargo2nix 387 9 months ago Granular caching, development shell, Nix & Rust integration
crane 972 about 1 month ago A Nix library for building Cargo projects with incremental artifact caching
fenix 726 about 1 month ago Rust toolchains and Rust analyzer nightly for nix
naersk 754 about 1 month ago Build Rust packages directly from . No conversion step needed
nix-cargo-integration 192 about 1 month ago A library that allows easy and effortless integration for Cargo projects
nixpkgs-mozilla 534 about 2 months ago Mozilla's overlay with Rust toolchains and Firefox
rust-nix-templater 49 almost 2 years ago Generates Nix build and development files for Rust projects
rust-overlay 974 about 1 month ago Pure and reproducible nix overlay of binary distributed Rust toolchains

Awesome Nix / Programming Languages / Scala

sbt-derivation 64 about 1 year ago mkDerivation for sbt, similar to buildGoModule

Awesome Nix / Programming Languages / Zig

zon2nix 77 7 months ago Convert the dependencies in to a Nix expression

Awesome Nix / NixOS Modules

base16.nix 204 about 2 months ago Flake way to theme programs in colorschemes, mustache template support included
Home Manager 7,273 about 1 month ago Manage your user configuration just like NixOS
nix-darwin 3,321 about 1 month ago Manage macOS configuration just like on NixOS
NixOS-WSL 1,943 about 1 month ago Modules for running NixOS on the Windows Subsystem for Linux
musnix 620 about 1 month ago Do real-time audio work in NixOS
NixVim 1,845 about 1 month ago A NeoVim distribution built with Nix modules and Nixpkgs
Self Host Blocks 217 about 1 month 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 about 1 month ago System-wide colorscheming and typography for NixOS
nix-bitcoin 522 about 1 month ago Modules and packages for Bitcoin nodes with higher-layer protocols with an emphasis on security
nix-mineral 172 about 1 month ago Conveniently and reasonably harden NixOS
nix-topology 588 about 1 month ago Generate infrastructure and network diagrams directly from your NixOS configuration
impermanence 1,232 about 1 month 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 12 months ago Graphical editor for NixOS configuration. Desktop app in Rust and GTK
Nix Software Center 613 3 months 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 10 months ago High Performance Computing package sets
chaotic-nyx 374 about 1 month ago Daily bumped bleeding edge packages like & others that aren't yet in Nixpkgs. Created by the makers of
nixpkgs-firefox-darwin 53 about 1 month ago Automatically updated Firefox binary packages for macOS
nixpkgs-wayland 530 about 1 month ago Bleeding-edge Wayland packages
NUR 1,371 about 1 month ago Nix User Repositories. The mother of all overlays, allowing access to user repositories and installing packages via attributes
System Manager 808 about 1 month ago A non-NixOS Linux system configuration tool built on Nix

Awesome Nix / Distributions

nixbsd 511 about 1 month ago A NixOS fork with a FreeBSD kernel
NixNG 303 about 1 month 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)

Backlinks from these awesome lists:

More related projects: