awesome-nix/README.md

154 lines
8.6 KiB
Markdown
Raw Normal View History

# 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
> A curated list of the best resources in the Nix community.
2019-05-15 15:21:11 +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
## Contents
* [Resources](#resources)
* [Learning](#learning)
* [Grokking](#grokking)
* [Newsletters](#newsletters)
* [Installation Media](#installation-media)
* [Channel History](#channel-history)
* [Cloud Stuff](#cloud-stuff)
* [Command-Line Tools](#command-line-tools)
* [Development](#development)
* [Programming Languages](#programming-languages)
* [Elm](#elm)
* [Haskell](#haskell)
* [Node.js](#nodejs)
* [PureScript](#purescript)
* [Python](#python)
* [Ruby](#ruby)
* [Rust](#rust)
* [NixOS Modules](#nixos-modules)
* [Overlays](#overlays)
* [Community](#community)
2019-05-15 15:18:48 +00:00
## Resources
### Learning
* [Nix Notes](https://github.com/noteed/nix-notes) - A collection of short notes about Nix, each contributing to the same virtual machine image.
* [Nix Pills](https://nixos.org/nixos/nix-pills/) - The best way to learn, with examples.
* [Nix Shorts](https://github.com/justinwoo/nix-shorts/) - A collection of short notes about Nix.
* [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
### Grokking
* [Hound](https://search.nix.gsc.io) - Handily search across all or selected Nix-related repositories.
2020-11-12 21:45:34 +00:00
* [Nixpkgs Database](https://kamadorueda.github.io/nixpkgs-db/) - A database with Nix packages at all versions, from all channels.
2019-05-15 15:18:48 +00:00
### Newsletters
* [NixOS Weekly](https://weekly.nixos.org/) - *The* newsletter to stay informed about community updates.
2019-05-15 15:18:48 +00:00
## Installation Media
* [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.
## Channel History
* [Channel History](https://channels.nix.gsc.io) - Get historical git commits for Nix channels.
* [Nix Infra Status](https://status.nixos.org) - Get the age and current git commit of each Nix channel.
## Cloud Stuff
2019-05-15 15:18:48 +00:00
* [krops](https://cgit.krebsco.de/krops/about/) - A lightweight toolkit to deploy NixOS systems, remotely or locally.
* [kubenix](https://github.com/xtruder/kubenix) - A Kubernetes resource builder using Nix.
* [KuberNix](https://github.com/saschagrunert/kubernix) - Single-dependency Kubernetes clusters via Nix packages.
* [morph](https://github.com/DBCDK/morph) - A tool for managing existing NixOS hosts.
* [nixery](https://github.com/google/nixery) - A Docker-compatible container registry which builds images ad-hoc via Nix.
* [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).
* [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
## Command-Line Tools
2019-05-15 15:18:48 +00:00
* [comma](https://github.com/Shopify/comma) - Quickly run any binary; wraps together `nix run` and `nix-index`.
* [nixfmt](https://github.com/serokell/nixfmt) - A formatter for Nix code, intended to easily apply a uniform style.
* [nix-diff](https://github.com/Gabriel439/nix-diff) - A tool to explain why two Nix derivations differ.
* [nix-index](https://github.com/bennofs/nix-index) - Quickly locate Nix packages with specific files.
* [nix-prefetch](https://github.com/msteen/nix-prefetch) - A universal tool for updating source checksums.
2019-05-15 15:00:21 +00:00
2019-05-15 15:39:15 +00:00
## Development
* [arion](https://github.com/hercules-ci/arion) - Run `docker-compose` with help from Nix/NixOS.
* [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.
* [gitignore.nix](https://github.com/hercules-ci/gitignore.nix) - The most feature-complete and easy-to-use `.gitignore` integration.
* [lorri](https://github.com/target/lorri/) - A much better `nix-shell` for development that augments direnv.
* [niv](https://github.com/nmattia/niv/) - Easy dependency management for Nix projects with package pinning.
* [nix-direnv](https://github.com/nix-community/nix-direnv) - A fast loader and flake-compliant configuration for the direnv environment auto-loader.
* [nix-review](https://github.com/Mic92/nix-review) - The best tool to verify that a pull-request in Nixpkgs is building properly.
* [pre-commit-hooks.nix](https://github.com/hercules-ci/pre-commit-hooks.nix) - Run linters/formatters at commit time and on your CI.
2019-05-15 15:39:15 +00:00
## Programming Languages
2019-05-15 15:00:21 +00:00
### Elm
* [elm2nix](https://github.com/hercules-ci/elm2nix) - Convert elm.json into Nix expressions.
2019-05-15 15:03:46 +00:00
### Haskell
* [cabal2nix](https://github.com/NixOS/cabal2nix) - Converts a Cabal file into a Nix build expression.
2021-03-24 09:15:50 +00:00
* [stack2nix](https://github.com/input-output-hk/stack2nix) - Generate nix expressions for Haskell projects.
* [nix-haskell-mode](https://github.com/matthewbauer/nix-haskell-mode) - Automatic Haskell setup in Emacs.
* [haskell.nix](https://github.com/input-output-hk/haskell.nix) - Alternative Haskell Infrastructure for Nixpkgs.
2019-05-15 15:03:46 +00:00
### Node.js
2019-05-15 15:18:48 +00:00
* [napalm](https://github.com/nmattia/napalm) - Support for building npm packages in Nix with a lightweight npm registry.
* [node2nix](https://github.com/svanderburg/node2nix) - Generate Nix expressions from a `package.lock` npm file.
* [yarn2nix](https://github.com/moretea/yarn2nix) - Generate Nix expressions from a `yarn.lock` file.
2019-05-15 15:18:48 +00:00
2019-12-10 00:06:00 +00:00
### PureScript
* [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
* [mach-nix](https://github.com/DavHau/mach-nix) - Tool to create highly reproducible python environments.
* [poetry2nix](https://github.com/nix-community/poetry2nix) - Build Python packages directly from [Poetry's](https://python-poetry.org/) `poetry.lock`. No conversion step needed.
* [pypi2nix](https://github.com/nix-community/pypi2nix) - Generate Nix expressions for Python packages.
2019-05-15 15:03:46 +00:00
### Ruby
* [bundix](https://github.com/manveru/bundix) - Generates a Nix expression for your Bundler-managed application.
2019-05-15 15:18:48 +00:00
### Rust
* [carnix](https://nest.pijul.com/pmeunier/carnix) - A compiler from the `Cargo.lock` files produced by cargo to Nix expressions.
* [fenix](https://github.com/nix-community/fenix) - Rust nightly toolchains and rust analyzer nightly for nix.
* [naersk](https://github.com/nmattia/naersk) - Build Rust packages directly from `Cargo.lock`. No conversion step needed.
2019-05-15 15:29:57 +00:00
## NixOS Modules
2019-09-16 08:29:56 +00:00
* [Musnix](https://github.com/musnix/musnix) - Do real-time audio work in NixOS.
* [nixcloud-webservices](https://github.com/nixcloud/nixcloud-webservices) - A Nixpkgs extension with a focus on ease of deployment of web-related technologies.
* [Simple Nixos Mailserver](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver) - A complete mailserver, managed with NixOS modules.
2019-09-16 08:29:56 +00:00
2019-05-16 11:42:31 +00:00
## Overlays
* [awesome-nix-hpc](https://github.com/freuk/awesome-nix-hpc) - High Performance Computing package sets.
* [home-manager](https://github.com/rycee/home-manager) - Manage your user configuration just like NixOS.
* [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.
* [nixpkgs-mozilla](https://github.com/mozilla/nixpkgs-mozilla) - Mozilla's overlay with bleeding-edge Rust and Firefox.
* [nixpkgs-wayland](https://github.com/colemickens/nixpkgs-wayland) - Bleeding-edge Wayland packages.
* [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
* [#nix:matrix.org (Unofficial)](https://matrix.to/#/#nix:matrix.org)
2019-05-15 15:29:57 +00:00
* [#nixos on FreeNode](https://webchat.freenode.net/?channels=nixos)
2019-09-07 22:48:25 +00:00
* [Discord - Nix/Nixos (Unofficial)](https://discord.gg/BMUCQx6)
* [Discourse](https://discourse.nixos.org/) - The best place to get help and discuss Nix-related topics.
2019-09-16 08:52:43 +00:00
* [Wiki (Unofficial)](https://nixos.wiki)