2021-03-24 09:33:20 +00:00
# Awesome Nix [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) [<img src="https://nixos.org/logo/nixos-logo-only-hires.png" width="200" align="right" alt="NixOS">](https://nixos.org)
2019-05-15 15:18:48 +00:00
2021-03-22 23:35:33 +00:00
> A curated list of the best resources in the Nix community.
2019-05-15 15:21:11 +00:00
2021-03-23 09:30:01 +00:00
[Nix ](https://github.com/nixos/nix ) is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible.
2019-05-16 09:11:16 +00:00
*Please read the [contribution guidelines ](CONTRIBUTING.md ) before contributing.*
2019-05-15 15:18:48 +00:00
2021-03-23 00:00:21 +00:00
## Contents
* [Resources ](#resources )
* [Learning ](#learning )
2021-03-24 23:33:59 +00:00
* [Discovery ](#discovery )
2021-03-23 00:00:21 +00:00
* [Newsletters ](#newsletters )
* [Installation Media ](#installation-media )
* [Channel History ](#channel-history )
2021-03-24 23:33:59 +00:00
* [Deployment Tools ](#deployment-tools )
2021-03-23 00:00:21 +00:00
* [Command-Line Tools ](#command-line-tools )
* [Development ](#development )
* [Programming Languages ](#programming-languages )
2021-03-30 15:08:45 +00:00
* [Arduino ](#arduino )
2021-03-31 14:23:32 +00:00
* [Crystal ](#crystal )
2021-03-23 00:00:21 +00:00
* [Elm ](#elm )
* [Haskell ](#haskell )
2021-03-23 07:55:34 +00:00
* [Node.js ](#nodejs )
2021-06-14 18:47:17 +00:00
* [PHP ](#php )
2021-03-23 00:00:21 +00:00
* [PureScript ](#purescript )
* [Python ](#python )
* [Ruby ](#ruby )
* [Rust ](#rust )
2021-11-18 17:19:33 +00:00
* [Scala ](#scala )
2021-03-23 00:00:21 +00:00
* [NixOS Modules ](#nixos-modules )
* [Overlays ](#overlays )
* [Community ](#community )
2019-05-15 15:18:48 +00:00
## Resources
### Learning
2021-11-22 14:00:02 +00:00
* [How to Learn Nix ](https://ianthehenry.com/posts/how-to-learn-nix/ ) - It's like a Let's Play, but for obscure software documentation.
2019-12-18 18:21:48 +00:00
* [Nix Notes ](https://github.com/noteed/nix-notes ) - A collection of short notes about Nix, each contributing to the same virtual machine image.
2022-07-10 21:34:07 +00:00
* [Nix Pills ](https://nixos.org/guides/nix-pills/ ) - The best way to learn, with examples.
2019-10-10 12:36:11 +00:00
* [Nix Shorts ](https://github.com/justinwoo/nix-shorts/ ) - A collection of short notes about Nix.
2021-03-24 10:44:22 +00:00
* [nix.dev ](https://nix.dev/ ) - An opinionated guide for developers about getting things done using the Nix ecosystem.
* [Tour of Nix ](https://nixcloud.io/tour ) - An online interactive tutorial on Nix language constructs.
2019-05-15 15:18:48 +00:00
2021-03-24 23:33:59 +00:00
### Discovery
2019-11-01 08:05:56 +00:00
2021-03-24 10:44:22 +00:00
* [Hound ](https://search.nix.gsc.io ) - Handily search across all or selected Nix-related repositories.
2021-12-29 08:26:34 +00:00
* [Nix Package Versions ](https://lazamar.co.uk/nix-versions/ ) - Find all versions of a package that were available in a channel and the revision you can download it from.
2021-11-01 12:07:14 +00:00
* [Pkgs on Nix ](https://pkgs.on-nix.com/ ) - A database with Nix packages at all versions, from all channels.
2019-11-01 08:05:56 +00:00
2019-05-15 15:18:48 +00:00
### Newsletters
2021-03-24 10:44:22 +00:00
* [NixOS Weekly ](https://weekly.nixos.org/ ) - *The* newsletter to stay informed about community updates.
2019-05-15 15:18:48 +00:00
2019-11-01 07:59:09 +00:00
## Installation Media
2019-11-01 08:05:56 +00:00
2021-03-24 10:44:22 +00:00
* [nixos-generators ](https://github.com/nix-community/nixos-generators ) - Take a NixOS config and build multiple different images types including VirtualBox VMs, Azure images, and installation ISOs.
2021-04-14 10:53:10 +00:00
* [nixos-up ](https://github.com/samuela/nixos-up ) - Super easy NixOS installer that can be used from the installation ISO.
2019-11-01 07:59:09 +00:00
2021-03-24 10:44:22 +00:00
## Channel History
2019-11-01 08:05:56 +00:00
2021-03-23 08:11:10 +00:00
* [Channel History ](https://channels.nix.gsc.io ) - Get historical git commits for Nix channels.
2021-03-24 10:44:22 +00:00
* [Nix Infra Status ](https://status.nixos.org ) - Get the age and current git commit of each Nix channel.
2022-03-12 13:34:26 +00:00
* [Nix Review Tools Reports ](https://malob.github.io/nix-review-tools-reports/ ) - Reports showing problematic dependencies (dependencies causing the most failed builds) for major Hydra jobsets.
2021-07-12 09:30:49 +00:00
* [nixpkgs PR tracker ](https://nixpk.gs/pr-tracker.html ) - A tracker for whether a PR has made it into a channel yet.
2019-11-01 07:59:09 +00:00
2021-03-24 23:33:59 +00:00
## Deployment Tools
2019-05-15 15:18:48 +00:00
2021-03-31 14:23:32 +00:00
* [Colmena ](https://github.com/zhaofengli/colmena ) - A simple, stateless NixOS deployment tool modeled after NixOps and morph.
2021-12-31 13:16:56 +00:00
* [deploy-rs ](https://github.com/serokell/deploy-rs ) - A simple multi-profile Nix-flake deploy tool.
2021-03-24 10:44:22 +00:00
* [krops ](https://cgit.krebsco.de/krops/about/ ) - A lightweight toolkit to deploy NixOS systems, remotely or locally.
2021-03-24 21:08:15 +00:00
* [KubeNix ](https://github.com/xtruder/kubenix ) - A Kubernetes resource builder using Nix.
2021-03-24 11:04:51 +00:00
* [KuberNix ](https://github.com/saschagrunert/kubernix ) - Single-dependency Kubernetes clusters via Nix packages.
2019-09-12 19:56:54 +00:00
* [morph ](https://github.com/DBCDK/morph ) - A tool for managing existing NixOS hosts.
2022-07-10 21:34:07 +00:00
* [Nixery ](https://github.com/tazjin/nixery ) - A Docker-compatible container registry which builds images ad-hoc via Nix.
2021-03-24 21:08:15 +00:00
* [NixOps ](https://github.com/NixOS/nixops ) - The official Nix deployment tool, compatible with AWS, Hetzner, and more.
2020-02-17 21:15:00 +00:00
* [nixos-shell ](https://github.com/Mic92/nixos-shell ) - Simple headless VM configuration using Nix (similar to Vagrant).
2021-04-10 14:02:32 +00:00
* [pushnix ](https://github.com/arnarg/pushnix ) - Simple cli utility that pushes NixOS configuration and triggers a rebuild using ssh.
2021-03-24 10:44:22 +00:00
* [terraform-nixos ](https://github.com/tweag/terraform-nixos ) - A set of Terraform modules designed to deploy NixOS.
2019-09-12 19:58:23 +00:00
* [terranix ](https://terranix.org ) - Use Nix and the NixOS module system to write your Terraform code.
2019-05-15 15:18:48 +00:00
2021-03-23 07:55:34 +00:00
## Command-Line Tools
2019-05-15 15:18:48 +00:00
2022-05-07 11:53:59 +00:00
* [alejandra ](https://github.com/kamadorueda/alejandra ) - An opinionated Nix code formatter optimized for speed and consistency.
2022-07-10 21:34:07 +00:00
* [comma ](https://github.com/nix-community/comma ) - Quickly run any binary; wraps together `nix run` and `nix-index` .
2022-09-21 13:21:22 +00:00
* [manix ](https://github.com/mlvzk/manix ) - Find configuration options and function documentation for Nixpkgs, NixOS, and Home Manager.
2021-03-22 22:33:03 +00:00
* [nixfmt ](https://github.com/serokell/nixfmt ) - A formatter for Nix code, intended to easily apply a uniform style.
2021-04-10 14:09:31 +00:00
* [nixpkgs-fmt ](https://github.com/nix-community/nixpkgs-fmt ) - Nix code formatter for nixpkgs.
2022-09-08 14:09:57 +00:00
* [nixpkgs-hammering ](https://github.com/jtojnar/nixpkgs-hammering ) - An opinionated linter for Nixpkgs package expressions.
2021-12-29 16:17:07 +00:00
* [nix-alien ](https://github.com/thiagokokada/nix-alien ) - Run unpatched binaries on Nix/NixOS easily.
2022-07-10 21:34:07 +00:00
* [nix-diff ](https://github.com/Gabriella439/nix-diff ) - A tool to explain why two Nix derivations differ.
2021-03-24 09:33:20 +00:00
* [nix-index ](https://github.com/bennofs/nix-index ) - Quickly locate Nix packages with specific files.
2021-03-24 10:44:22 +00:00
* [nix-prefetch ](https://github.com/msteen/nix-prefetch ) - A universal tool for updating source checksums.
2021-04-07 06:24:05 +00:00
* [nix-tree ](https://github.com/utdemir/nix-tree ) - Interactively browse the dependency graph of Nix derivations.
2021-11-03 02:02:39 +00:00
* [statix ](https://github.com/nerdypepper/statix ) - A linter/fixer to check for and fix antipatterns in Nix code.
2019-05-15 15:00:21 +00:00
2019-05-15 15:39:15 +00:00
## Development
2021-03-24 21:08:15 +00:00
* [Arion ](https://github.com/hercules-ci/arion ) - Run `docker-compose` with help from Nix/NixOS.
2021-03-24 10:44:22 +00:00
* [cached-nix-shell ](https://github.com/xzfc/cached-nix-shell ) - A `nix-shell` replacement that uses caching to open subsequent shells quickly.
* [Cachix ](https://cachix.org/ ) - Hosted binary cache service; free for open-source projects.
2021-07-12 09:02:03 +00:00
* [devshell ](https://github.com/numtide/devshell ) - `mkShell` with extra bits and a toml config option to be able to onboard non-nix users.
2022-08-14 00:54:51 +00:00
* [dream2nix ](https://github.com/nix-community/dream2nix ) - A framework for automatically converting packages from other build systems to Nix.
2022-09-21 13:18:18 +00:00
* [flake.parts ](https://github.com/hercules-ci/flake-parts ) - Minimal Nix modules framework for Flakes: split your flakes into modules and get things done with community modules.
2021-07-12 09:00:36 +00:00
* [flake-utils ](https://github.com/numtide/flake-utils ) - Pure Nix flake utility functions to help with writing flakes.
2021-03-24 10:44:22 +00:00
* [gitignore.nix ](https://github.com/hercules-ci/gitignore.nix ) - The most feature-complete and easy-to-use `.gitignore` integration.
2022-07-10 21:34:07 +00:00
* [lorri ](https://github.com/nix-community/lorri/ ) - A much better `nix-shell` for development that augments direnv.
2022-03-24 16:13:40 +00:00
* [Makes ](https://github.com/fluidattacks/makes ) - A Nix-based CI/CD pipeline framework for building, testing, and releasing projects in any language, from anywhere.
2021-03-24 10:44:22 +00:00
* [niv ](https://github.com/nmattia/niv/ ) - Easy dependency management for Nix projects with package pinning.
2021-03-22 22:33:56 +00:00
* [nix-direnv ](https://github.com/nix-community/nix-direnv ) - A fast loader and flake-compliant configuration for the direnv environment auto-loader.
2021-03-24 21:08:15 +00:00
* [nixpkgs-review ](https://github.com/Mic92/nixpkgs-review ) - The best tool to verify that a pull-request in Nixpkgs is building properly.
2021-04-01 22:52:57 +00:00
* [pre-commit-hooks.nix ](https://github.com/cachix/pre-commit-hooks.nix ) - Run linters/formatters at commit time and on your CI.
2022-08-14 00:54:51 +00:00
* [rnix-lsp ](https://github.com/nix-community/rnix-lsp ) - A syntax-checking language server for Nix.
2022-01-10 13:50:18 +00:00
* [robotnix ](https://github.com/danielfullmer/robotnix ) - A declarative and reproducible build system for Android (AOSP) images.
2019-05-15 15:39:15 +00:00
2021-03-23 07:55:34 +00:00
## Programming Languages
2019-05-15 15:00:21 +00:00
2021-03-30 15:08:45 +00:00
### Arduino
* [nixduino ](https://github.com/boredom101/nixduino ) - Nix-based tool to help build Arduino sketches.
2021-03-31 14:23:32 +00:00
### Crystal
* [crystal2nix ](https://github.com/nix-community/crystal2nix ) - Convert `shard.lock` into Nix expressions.
2019-05-15 15:00:21 +00:00
### Elm
2022-07-10 21:34:07 +00:00
* [elm2nix ](https://github.com/cachix/elm2nix ) - Convert `elm.json` into Nix expressions.
2019-05-15 15:03:46 +00:00
### Haskell
2021-03-22 22:33:03 +00:00
* [cabal2nix ](https://github.com/NixOS/cabal2nix ) - Converts a Cabal file into a Nix build expression.
2022-09-21 13:18:18 +00:00
* [haskell-flake ](https://github.com/srid/haskell-flake ) - A `flake-parts` Nix module for Haskell development.
2021-03-22 23:35:33 +00:00
* [haskell.nix ](https://github.com/input-output-hk/haskell.nix ) - Alternative Haskell Infrastructure for Nixpkgs.
2021-05-25 18:52:48 +00:00
* [nix-haskell-mode ](https://github.com/matthewbauer/nix-haskell-mode ) - Automatic Haskell setup in Emacs.
2021-05-25 18:49:37 +00:00
* [nixkell ](https://github.com/pwm/nixkell ) - A Haskell project template using Nix and direnv.
2019-05-15 15:03:46 +00:00
2021-03-23 07:55:34 +00:00
### Node.js
2019-05-15 15:18:48 +00:00
2022-07-10 21:34:07 +00:00
* [Napalm ](https://github.com/nix-community/napalm ) - Support for building npm packages in Nix with a lightweight npm registry.
2021-07-08 23:20:27 +00:00
* [node2nix ](https://github.com/svanderburg/node2nix ) - Generate Nix expression from a `package.json` (or `package-lock.json` ) (to be stored as files).
2022-07-10 21:34:07 +00:00
* [npmlock2nix ](https://github.com/nix-community/npmlock2nix ) - Generate Nix expressions from a `package-lock.json` (in-memory), primarily for web projects.
2019-05-15 15:18:48 +00:00
2021-06-14 18:47:17 +00:00
### PHP
* [composer2nix ](https://github.com/svanderburg/composer2nix ) - Generate Nix expressions to build composer packages.
2022-02-17 18:18:17 +00:00
* [composer-plugin-nixify ](https://github.com/stephank/composer-plugin-nixify ) - Composer plugin to help with Nix packaging.
2021-06-14 18:47:17 +00:00
* [composition-c4 ](https://github.com/fossar/composition-c4 ) - Support for building composer packages from a `composer.lock` (using IFD).
* [nix-phps ](https://github.com/fossar/nix-phps ) - Flake containing old and unmaintained PHP versions (intended for CI use).
2022-02-17 18:18:17 +00:00
* [nix-shell ](https://github.com/loophp/nix-shell/ ) - Nix shells for PHP development.
2021-06-14 18:47:17 +00:00
2019-12-10 00:06:00 +00:00
### PureScript
2021-03-24 21:08:15 +00:00
* [Easy PureScript Nix ](https://github.com/justinwoo/easy-purescript-nix ) - A project to easily use PureScript and other tools with Nix.
2019-12-10 00:06:00 +00:00
2019-05-15 15:03:46 +00:00
### Python
2021-03-22 23:35:33 +00:00
* [mach-nix ](https://github.com/DavHau/mach-nix ) - Tool to create highly reproducible python environments.
2021-03-24 08:38:42 +00:00
* [poetry2nix ](https://github.com/nix-community/poetry2nix ) - Build Python packages directly from [Poetry's ](https://python-poetry.org/ ) `poetry.lock` . No conversion step needed.
2021-03-22 23:35:33 +00:00
* [pypi2nix ](https://github.com/nix-community/pypi2nix ) - Generate Nix expressions for Python packages.
2019-05-15 15:03:46 +00:00
### Ruby
2021-03-24 21:08:15 +00:00
* [Bundix ](https://github.com/nix-community/bundix ) - Generates a Nix expression for your Bundler-managed application.
2019-05-15 15:18:48 +00:00
### Rust
2022-07-10 21:05:41 +00:00
* [cargo2nix ](https://github.com/cargo2nix/cargo2nix ) - Granular caching, development shell, Nix & Rust integration.
2022-08-14 00:54:51 +00:00
* [crane ](https://github.com/ipetkov/crane ) - A Nix library for building Cargo projects with incremental artifact caching.
2021-11-03 01:58:22 +00:00
* [fenix ](https://github.com/nix-community/fenix ) - Rust toolchains and Rust analyzer nightly for nix.
2021-03-24 08:38:42 +00:00
* [naersk ](https://github.com/nmattia/naersk ) - Build Rust packages directly from `Cargo.lock` . No conversion step needed.
2021-10-29 16:52:48 +00:00
* [nix-cargo-integration ](https://github.com/yusdacra/nix-cargo-integration ) - A library that allows easy and effortless integration for Cargo projects.
2021-11-03 01:58:22 +00:00
* [nixpkgs-mozilla ](https://github.com/mozilla/nixpkgs-mozilla ) - Mozilla's overlay with Rust toolchains and Firefox.
2021-03-27 10:52:37 +00:00
* [rust-nix-templater ](https://github.com/yusdacra/rust-nix-templater ) - Generates Nix build and development files for Rust projects.
2021-11-03 01:58:22 +00:00
* [rust-overlay ](https://github.com/oxalica/rust-overlay ) - Pure and reproducible nix overlay of binary distributed Rust toolchains.
2019-05-15 15:29:57 +00:00
2021-11-18 17:19:33 +00:00
### Scala
2021-11-19 14:58:21 +00:00
* [sbt-derivation ](https://github.com/zaninime/sbt-derivation ) - mkDerivation for sbt, similar to buildGoModule.
2021-11-18 17:19:33 +00:00
2021-03-23 07:55:34 +00:00
## NixOS Modules
2019-09-16 08:29:56 +00:00
2022-02-17 18:19:24 +00:00
* [base16.nix ](https://github.com/SenchoPens/base16.nix ) - Flake way to theme programs in [base16 ](https://github.com/chriskempson/base16 ) colorschemes, mustache template support included.
2022-03-21 22:57:39 +00:00
* [Home Manager ](https://github.com/nix-community/home-manager ) - Manage your user configuration just like NixOS.
2021-03-24 21:08:15 +00:00
* [musnix ](https://github.com/musnix/musnix ) - Do real-time audio work in NixOS.
2021-03-24 10:44:22 +00:00
* [nixcloud-webservices ](https://github.com/nixcloud/nixcloud-webservices ) - A Nixpkgs extension with a focus on ease of deployment of web-related technologies.
2022-03-21 23:28:45 +00:00
* [NixVim ](https://github.com/pta2002/nixvim ) - A NeoVim distribution built with Nix modules and Nixpkgs.
2021-03-24 10:44:22 +00:00
* [Simple Nixos Mailserver ](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver ) - A complete mailserver, managed with NixOS modules.
2022-05-01 20:59:39 +00:00
* [Stylix ](https://github.com/danth/stylix ) - System-wide colorscheming and typography for NixOS.
2019-09-16 08:29:56 +00:00
2019-05-16 11:42:31 +00:00
## Overlays
2021-03-22 23:35:33 +00:00
* [awesome-nix-hpc ](https://github.com/freuk/awesome-nix-hpc ) - High Performance Computing package sets.
2021-03-24 10:44:22 +00:00
* [nix-bitcoin ](https://github.com/fort-nix/nix-bitcoin ) - Nix packages and NixOS modules for Bitcoin nodes with higher-layer protocols with an emphasis on security.
2019-05-16 11:42:31 +00:00
* [nix-darwin ](https://github.com/LnL7/nix-darwin ) - Manage macOS configuration just like on NixOS.
2022-01-07 13:26:39 +00:00
* [nixpkgs-firefox-darwin ](https://github.com/bandithedoge/nixpkgs-firefox-darwin ) - Automatically updated Firefox binary packages for macOS.
2021-12-23 13:22:11 +00:00
* [nixpkgs-wayland ](https://github.com/nix-community/nixpkgs-wayland ) - Bleeding-edge Wayland packages.
2021-03-24 10:44:22 +00:00
* [NUR ](https://github.com/nix-community/NUR/ ) - Nix User Repositories. The mother of all overlays, allowing access to user repositories and installing packages via attributes.
2019-05-16 11:42:31 +00:00
2019-05-15 15:29:57 +00:00
## Community
2021-05-25 18:59:52 +00:00
* [#nix:nixos.org ](https://matrix.to/#/#nix:nixos.org )
2021-11-03 02:09:17 +00:00
* [#nixos on Libera.Chat ](https://web.libera.chat/?nick=Guest?#nixos )
2019-09-07 22:48:25 +00:00
* [Discord - Nix/Nixos (Unofficial) ](https://discord.gg/BMUCQx6 )
2021-03-24 10:44:22 +00:00
* [Discourse ](https://discourse.nixos.org/ ) - The best place to get help and discuss Nix-related topics.
2021-03-26 23:18:23 +00:00
* [NixCon ](https://nixcon.org/ ) - The annual community conference for contributors and users of Nix and NixOS.
2019-09-16 08:52:43 +00:00
* [Wiki (Unofficial) ](https://nixos.wiki )