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: almost 2 years ago
Linked from 4 awesome lists

awesomeawesome-listlistsnixnixos

Awesome Nix / Resources / Learning

Building a Rust service with NixAn in-depth blog series about creating a Rust application with Nix
ExplainixExplain Nix syntax visually
How to Learn NixIt's like a Let's Play, but for obscure software documentation
Nix - A One PagerA one page introduction to the Nix language
Nix from First Principles: Flake EditionA modern crash-course to using Nix features, Flakes, and developing with Nix
Nix in 100 SecondsA YouTube video from Fireship presenting Nix in 100 seconds
Nix Notes56almost 4 years agoA collection of short notes about Nix, each contributing to the same virtual machine image
Nix PillsThe best way to learn, with examples
Nix Shorts17over 2 years agoA collection of short notes about how to use Nix, updated for Nix Flakes
nix.devAn opinionated guide for developers about getting things done using the Nix ecosystem
NixOS & Flakes Book2,127almost 2 years agoAn unofficial and opinionated NixOS & Flakes book for beginners
NixOS Asia Tutorial SeriesA series of high-level tutorials on using Nix Flakes, NixOS, home-manager, etc
Tour of NixAn online interactive tutorial on Nix language constructs
Wombat's Book of NixA book-length introduction to Nix and flakes
Zero to NixA flake-centric guide to Nix and its concepts created by Determinate Systems to quickly onboard beginners

Awesome Nix / Resources / Discovery

Nix Package VersionsFind all versions of a package that were available in a channel and the revision you can download it from
NoogleNix API search engine allowing to search functions based on their types and other attributes
Home Manager Option SearchSearch through all 2000+ Home Manager options and read how to use them
NüschtOS Search57almost 2 years agoSimple and fast static-page NixOS option search
SearchixSearch Nix packages and options from NixOS, Darwin and Home Manager

Awesome Nix / Installation Media

nixos-anywhere1,738almost 2 years agoInstall NixOS everywhere via SSH
nixos-generators1,892almost 2 years agoTake a NixOS config and build multiple different images types including VirtualBox VMs, Azure images, and installation ISOs
nixos-infect1,418about 2 years agoReplace a running non-NixOS Linux host with NixOS
nixos-up237almost 2 years agoSuper easy NixOS installer that can be used from the installation ISO
nix-installer2,356almost 2 years agoOpinionated alternative to the official Nix install scripts
nix-installer-scripts91almost 3 years agoRuns 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 HistoryGet historical git commits for Nix channels
Nix Infra StatusGet the age and current git commit of each Nix channel
Nix Review Tools ReportsReports showing problematic dependencies (dependencies causing the most failed builds) for major Hydra jobsets
nixpkgs PR trackerA tracker for whether a PR has made it into a channel yet

Awesome Nix / Deployment Tools

bento256almost 2 years agoA KISS deployment tool to keep your NixOS fleet (servers & workstations) up to date
Colmena1,292almost 2 years agoA simple, stateless NixOS deployment tool modeled after NixOps and morph
comin497almost 2 years agoA deployment tool to continuously pull from Git repositories
deploy-rs1,429almost 2 years agoA simple multi-profile Nix-flake deploy tool
kropsA lightweight toolkit to deploy NixOS systems, remotely or locally
KubeNix323over 2 years agoA Kubernetes resource builder using Nix
KuberNix767over 3 years agoSingle-dependency Kubernetes clusters via Nix packages
morph844almost 2 years agoA tool for managing existing NixOS hosts
Nixery1,829over 2 years agoA Docker-compatible container registry which builds images ad-hoc via Nix
Nixinate247over 2 years agoA Nix flake library to provide app outputs for managing existing NixOS hosts over SSH
NixOps1,870over 2 years agoThe official Nix deployment tool, compatible with AWS, Hetzner, and more
pushnix34over 5 years agoSimple cli utility that pushes NixOS configuration and triggers a rebuild using ssh
terraform-nixos345about 2 years agoA set of Terraform modules designed to deploy NixOS
terranixUse Nix and the NixOS module system to write your Terraform code

Awesome Nix / Virtualisation

nixos-shell692almost 2 years agoSimple headless VM configuration using Nix (similar to Vagrant)
extra-container220almost 2 years agoRun declarative NixOS containers from the command line
microvm1,467almost 2 years agoNixOS-based MicroVMs

Awesome Nix / Command-Line Tools

alejandra878almost 2 years agoAn opinionated Nix code formatter optimized for speed and consistency
comma1,146almost 2 years agoQuickly run any binary; wraps together and
deadnix518almost 2 years agoScan Nix files for dead code
devenv4,611almost 2 years agoA Nix-based tool for creating developer shell environments quickly and reproducibly
manix364over 2 years agoFind configuration options and function documentation for Nixpkgs, NixOS, and Home Manager
nh1,107almost 2 years agoBetter output for and home-manger CLI using and
nixfmt949almost 2 years agoA formatter for Nix code, intended to easily apply a uniform style
nixpkgs-fmt581about 2 years agoNix code formatter for nixpkgs
nixpkgs-hammering254over 2 years agoAn opinionated linter for Nixpkgs package expressions
nix-alien546almost 2 years agoRun unpatched binaries on Nix/NixOS easily
nix-diff369almost 2 years agoA tool to explain why two Nix derivations differ
nix-du395about 2 years agoVisualise which gc-roots to delete to free some space in your Nix store
nix-index883about 2 years agoQuickly locate Nix packages with specific files
nix-init934almost 2 years agoGenerate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more
nix-melt242almost 2 years agoA ranger-like flake.lock viewer
nix-output-monitor956almost 2 years agoA tool to produce useful graphs and statistics when building derivations
nix-prefetch126over 3 years agoA universal tool for updating source checksums
nix-tree781almost 2 years agoInteractively browse the dependency graph of Nix derivations
nurl494almost 2 years agoGenerate Nix fetcher calls from repository URLs
nvdDiff package versions between two store paths; it's especially useful for comparing NixOS generations on rebuild
statix583almost 2 years agoA linter/fixer to check for and fix antipatterns in Nix code

Awesome Nix / Development

attic1,089almost 2 years agoMulti-tenant Nix Binary Cache
Arion694almost 2 years agoRun with help from Nix/NixOS
cached-nix-shell209almost 2 years agoA replacement that uses caching to open subsequent shells quickly
CachixHosted binary cache service; free for open-source projects
compose2nix421almost 2 years agoGenerate a NixOS config from a Docker Compose project
Devbox8,962almost 2 years agoInstant, portable, and predictable development environments
devshell1,275almost 2 years agowith extra bits and a toml config option to be able to onboard non-nix users
dream2nix1,050almost 2 years agoA framework for automatically converting packages from other build systems to Nix
flake.parts791almost 2 years agoMinimal Nix modules framework for Flakes: split your flakes into modules and get things done with community modules
flake-utils1,227almost 2 years agoPure Nix flake utility functions to help with writing flakes
flake-utils-plus496almost 2 years agoA lightweight Nix library flake for painless NixOS flake configuration
flakelight242almost 2 years agoA modular flake framework aiming to minimize boilerplate
flox2,783almost 2 years agoManage and share development environments, package projects, and publish artifacts anywhere
gitignore.nix248over 2 years agoThe most feature-complete and easy-to-use integration
haumea303over 2 years agoFilesystem-based module system for the Nix language similar to traditional programming languages, with support for file hierarchy and visibility
lorri711about 2 years agoA much better for development that augments direnv
namaka113almost 2 years agoSnapshot testing for Nix based on haumea
nil1,411almost 2 years agoNIx Language server, an incremental analysis assistent for writing in Nix
niv1,632almost 2 years agoEasy dependency management for Nix projects with package pinning
nix-direnv1,914almost 2 years agoA fast loader and flake-compliant configuration for the direnv environment auto-loader
nix-health31about 2 years agoA program to check the health of your Nix install. Furthermore, individual projects can configure their own health checks in their
nix-update529almost 2 years agoUpdate versions/source hashes of nix packages
nixd945almost 2 years agoNix language server, based on Nix libraries
nixpkgs-review417almost 2 years agoThe best tool to verify that a pull-request in Nixpkgs is building properly
npins234almost 2 years agoA simple tool for handling different types of dependencies in a Nix project. It is inspired by and comparable to Niv
pre-commit-hooks.nix550almost 2 years agoRun linters/formatters at commit time and on your CI
rnix-lsp709over 2 years agoA syntax-checking language server for Nix
robotnix636almost 2 years agoA declarative and reproducible build system for Android (AOSP) images
services-flake403almost 2 years agoA NixOS-like service configuration framework for Nix flakes
Snowfall Lib440almost 2 years agoA library that makes it easy to manage your Nix flake by imposing an opinionated file structure
templates69almost 2 years agoProject templates for many languages using Nix flakes

Awesome Nix / DevOps

Makes461almost 2 years agoA Nix-based CI/CD pipeline framework for building, testing, and releasing projects in any language, from anywhere
nixidy112almost 2 years agoKubernetes GitOps with Nix and Argo CD
Nix GitLab CIDefine GitLab CI pipelines in pure Nix with full access to all Nix packages (incl. caching)
Standard410almost 2 years agoAn 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

nixduino47over 4 years agoNix-based tool to help build Arduino sketches

Awesome Nix / Programming Languages / Clojure

clj-nix157almost 2 years agoNix helper functions for Clojure projects

Awesome Nix / Programming Languages / Crystal

crystal2nix14about 2 years agoConvert into Nix expressions

Awesome Nix / Programming Languages / Elm

elm2nix111about 2 years agoConvert into Nix expressions

Awesome Nix / Programming Languages / Gleam

nix-gleam15over 2 years agoGeneric Nix builder for Gleam applications

Awesome Nix / Programming Languages / Haskell

cabal2nix362almost 2 years agoConverts a Cabal file into a Nix build expression
haskell-flake160almost 2 years agoA Nix module for Haskell development
haskell.nix565almost 2 years agoAlternative Haskell Infrastructure for Nixpkgs
nix-haskell-mode28over 7 years agoAutomatic Haskell setup in Emacs
nixkell98almost 2 years agoA Haskell project template using Nix and direnv

Awesome Nix / Programming Languages / Haxe

haxix3about 2 years agoNix flake to build haxe/Heaps.io projects
kebab1almost 2 years agoHaxe packages for Nix

Awesome Nix / Programming Languages / Lean

lean4-nix18almost 2 years agoNix flake build for Lean 4, and

Awesome Nix / Programming Languages / Node.js

Napalm105over 2 years agoSupport for building npm packages in Nix with a lightweight npm registry
node2nix530almost 2 years agoGenerate Nix expression from a (or ) (to be stored as files)
npmlock2nix134over 2 years agoGenerate Nix expressions from a (in-memory), primarily for web projects

Awesome Nix / Programming Languages / OCaml

opam2nix92about 2 years agoGenerate Nix expressions from opam packages

Awesome Nix / Programming Languages / PHP

composer2nix88about 4 years agoGenerate Nix expressions to build composer packages
composer-plugin-nixify17over 4 years agoComposer plugin to help with Nix packaging
composition-c411over 3 years agoSupport for building composer packages from a (using IFD)
nix-phps66almost 2 years agoFlake containing old and unmaintained PHP versions (intended for CI use)
nix-shell161almost 2 years agoNix shells for PHP development

Awesome Nix / Programming Languages / PureScript

Easy PureScript Nix196over 2 years agoA project to easily use PureScript and other tools with Nix
purs-nix72almost 2 years agoCLI 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

poetry2nix898almost 2 years agoBuild Python packages directly from . No conversion step needed

Awesome Nix / Programming Languages / Ruby

Bundix164about 2 years agoGenerates a Nix expression for your Bundler-managed application
ruby-nix121almost 2 years agoGenerates reproducible ruby/bundler app environment with Nix

Awesome Nix / Programming Languages / Rust

cargo2nix387over 2 years agoGranular caching, development shell, Nix & Rust integration
crane972almost 2 years agoA Nix library for building Cargo projects with incremental artifact caching
fenix726almost 2 years agoRust toolchains and Rust analyzer nightly for nix
naersk754almost 2 years agoBuild Rust packages directly from . No conversion step needed
nix-cargo-integration192almost 2 years agoA library that allows easy and effortless integration for Cargo projects
nixpkgs-mozilla534almost 2 years agoMozilla's overlay with Rust toolchains and Firefox
rust-nix-templater49over 3 years agoGenerates Nix build and development files for Rust projects
rust-overlay974almost 2 years agoPure and reproducible nix overlay of binary distributed Rust toolchains

Awesome Nix / Programming Languages / Scala

sbt-derivation64almost 3 years agomkDerivation for sbt, similar to buildGoModule

Awesome Nix / Programming Languages / Zig

zon2nix77over 2 years agoConvert the dependencies in to a Nix expression

Awesome Nix / NixOS Modules

base16.nix204almost 2 years agoFlake way to theme programs in colorschemes, mustache template support included
Home Manager7,273almost 2 years agoManage your user configuration just like NixOS
nix-darwin3,321almost 2 years agoManage macOS configuration just like on NixOS
NixOS-WSL1,943almost 2 years agoModules for running NixOS on the Windows Subsystem for Linux
musnix620almost 2 years agoDo real-time audio work in NixOS
NixVim1,845almost 2 years agoA NeoVim distribution built with Nix modules and Nixpkgs
Self Host Blocks217almost 2 years agoModular server management based on NixOS modules and focused on best practices
Simple Nixos MailserverA complete mailserver, managed with NixOS modules
Stylix1,273almost 2 years agoSystem-wide colorscheming and typography for NixOS
nix-bitcoin522almost 2 years agoModules and packages for Bitcoin nodes with higher-layer protocols with an emphasis on security
nix-mineral172almost 2 years agoConveniently and reasonably harden NixOS
nix-topology588almost 2 years agoGenerate infrastructure and network diagrams directly from your NixOS configuration
impermanence1,232almost 2 years agoLets you choose what files and directories you want to keep between reboots

Awesome Nix / NixOS Configuration Editors / Desktop apps

NixOS Configuration Editor522over 2 years agoGraphical editor for NixOS configuration. Desktop app in Rust and GTK
Nix Software Center613almost 2 years agoInstall and manage Nix packages. Desktop app in Rust and GTK

Awesome Nix / NixOS Configuration Editors / Webinterface

MyNixOSGraphical 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-hpc77over 2 years agoHigh Performance Computing package sets
chaotic-nyx374almost 2 years agoDaily bumped bleeding edge packages like & others that aren't yet in Nixpkgs. Created by the makers of
nixpkgs-firefox-darwin53almost 2 years agoAutomatically updated Firefox binary packages for macOS
nixpkgs-wayland530almost 2 years agoBleeding-edge Wayland packages
NUR1,371almost 2 years agoNix User Repositories. The mother of all overlays, allowing access to user repositories and installing packages via attributes
System Manager808almost 2 years agoA non-NixOS Linux system configuration tool built on Nix

Awesome Nix / Distributions

nixbsd511almost 2 years agoA NixOS fork with a FreeBSD kernel
NixNG303almost 2 years agoA GNU/Linux distribution similar to NixOS, defining difference is a focus on containers and lightweightness
SnowflakeOSA 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)
DiscourseThe best place to get help and discuss Nix-related topics
NixConThe annual community conference for contributors and users of Nix and NixOS
Wiki (Official)
Wiki (Unofficial)

Backlinks from these awesome lists:

More related projects: