Project Icon

awesome-nix

Nix 生态系统优质资源汇总

本文汇总了 Nix 生态系统中的优质资源,包括学习材料、安装工具、部署方案、命令行工具和开发工具等。Nix 是一款强大的包管理器,适用于 Linux 和其他 Unix 系统,能够实现可靠和可重现的包管理。无论是 Nix 新手还是老手,都可以在这里找到有价值的工具和信息,提升使用体验。这份资源列表涵盖了 Nix 生态系统的多个方面,为用户和开发者提供了全面的参考。

Awesome Nix Awesome NixOS

A curated list of the best resources in the Nix community.

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible.

Please read the contribution guidelines before contributing.

Contents

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 Notes - 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 - 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 - 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.

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 - Simple and fast static-page NixOS option search.
  • Searchix - Search Nix packages and options from NixOS, Darwin and Home Manager.

Installation Media

  • nixos-generators - Take a NixOS config and build multiple different images types including VirtualBox VMs, Azure images, and installation ISOs.
  • nixos-infect - Replace a running non-NixOS Linux host with NixOS.
  • nixos-up - Super easy NixOS installer that can be used from the installation ISO.
  • nix-installer - Opinionated alternative to the official Nix install scripts.
  • nix-installer-scripts - 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.

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.

Deployment Tools

  • bento - A KISS deployment tool to keep your NixOS fleet (servers & workstations) up to date.
  • Colmena - A simple, stateless NixOS deployment tool modeled after NixOps and morph.
  • comin - A deployment tool to continuously pull from Git repositories.
  • deploy-rs - A simple multi-profile Nix-flake deploy tool.
  • krops - A lightweight toolkit to deploy NixOS systems, remotely or locally.
  • KubeNix - A Kubernetes resource builder using Nix.
  • KuberNix - Single-dependency Kubernetes clusters via Nix packages.
  • morph - A tool for managing existing NixOS hosts.
  • Nixery - A Docker-compatible container registry which builds images ad-hoc via Nix.
  • Nixinate - A Nix flake library to provide app outputs for managing existing NixOS hosts over SSH.
  • NixOps - The official Nix deployment tool, compatible with AWS, Hetzner, and more.
  • pushnix - Simple cli utility that pushes NixOS configuration and triggers a rebuild using ssh.
  • terraform-nixos - A set of Terraform modules designed to deploy NixOS.
  • terranix - Use Nix and the NixOS module system to write your Terraform code.

Virtualisation

  • nixos-shell - Simple headless VM configuration using Nix (similar to Vagrant).
  • extra-container - Run declarative NixOS containers from the command line.
  • microvm - NixOS-based MicroVMs.

Command-Line Tools

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

Development

  • attic - Multi-tenant Nix Binary Cache.
  • Arion - Run docker-compose with help from Nix/NixOS.
  • cached-nix-shell - A nix-shell replacement that uses caching to open subsequent shells quickly.
  • Cachix - Hosted binary cache service; free for open-source projects.
  • compose2nix - Generate a NixOS config from a Docker Compose project.
  • Devbox - Instant, portable, and predictable development environments.
  • devshell - mkShell with extra bits and a toml config option to be able to onboard non-nix users.
  • dream2nix - A framework for automatically converting packages from other build systems to Nix.
  • flake.parts - Minimal Nix modules framework for Flakes: split your flakes into modules and get things done with community modules.
  • flake-utils - Pure Nix flake utility functions to help with writing flakes.
  • flake-utils-plus - A lightweight Nix library flake for painless NixOS flake configuration.
  • flakelight - A modular flake framework aiming to minimize boilerplate.
  • flox - Manage and share development environments, package projects, and publish artifacts anywhere.
  • gitignore.nix - The most feature-complete and easy-to-use .gitignore integration.
  • haumea - Filesystem-based module system for the Nix language similar to traditional programming languages, with support for file hierarchy and visibility.
  • lorri - A much better nix-shell for development that augments direnv.
  • namaka - Snapshot testing for Nix based on haumea.
  • nil - NIx Language server, an incremental analysis assistent for writing in Nix.
  • niv - Easy dependency management for Nix projects with package pinning.
  • nix-direnv - A fast loader and flake-compliant configuration for the direnv environment auto-loader.
  • nix-health - A program to check the health of your Nix install. Furthermore, individual projects can configure their own health checks in their flake.nix.
  • nix-update - Update versions/source hashes of nix packages.
  • nixd - Nix language server, based on Nix libraries.
  • nixpkgs-review - The best tool to verify that a pull-request in Nixpkgs is building properly.
  • pre-commit-hooks.nix - Run linters/formatters at commit time and on your CI.
  • rnix-lsp - A syntax-checking language server for Nix.
  • robotnix - A declarative and reproducible build system for Android (AOSP) images.
  • services-flake - A NixOS-like service configuration framework for Nix flakes.
  • Snowfall Lib - A library that makes it easy to manage your Nix flake by imposing an opinionated file structure.
  • templates - Project templates for many languages using Nix flakes.

DevOps

  • Makes - A Nix-based CI/CD pipeline framework for building, testing, and releasing projects in any language, from anywhere.
  • nixidy - Kubernetes GitOps with Nix and Argo CD.
  • Standard - An opinionated Nix Flakes framework to keep Nix code in large projects organized, accompanied by a friendly CLI/TUI optized for DevOps scenarios.

Programming Languages

Arduino

  • nixduino - Nix-based tool to help build Arduino sketches.

Clojure

项目侧边栏1项目侧边栏2
推荐项目
Project Cover

豆包MarsCode

豆包 MarsCode 是一款革命性的编程助手,通过AI技术提供代码补全、单测生成、代码解释和智能问答等功能,支持100+编程语言,与主流编辑器无缝集成,显著提升开发效率和代码质量。

Project Cover

AI写歌

Suno AI是一个革命性的AI音乐创作平台,能在短短30秒内帮助用户创作出一首完整的歌曲。无论是寻找创作灵感还是需要快速制作音乐,Suno AI都是音乐爱好者和专业人士的理想选择。

Project Cover

白日梦AI

白日梦AI提供专注于AI视频生成的多样化功能,包括文生视频、动态画面和形象生成等,帮助用户快速上手,创造专业级内容。

Project Cover

有言AI

有言平台提供一站式AIGC视频创作解决方案,通过智能技术简化视频制作流程。无论是企业宣传还是个人分享,有言都能帮助用户快速、轻松地制作出专业级别的视频内容。

Project Cover

Kimi

Kimi AI助手提供多语言对话支持,能够阅读和理解用户上传的文件内容,解析网页信息,并结合搜索结果为用户提供详尽的答案。无论是日常咨询还是专业问题,Kimi都能以友好、专业的方式提供帮助。

Project Cover

讯飞绘镜

讯飞绘镜是一个支持从创意到完整视频创作的智能平台,用户可以快速生成视频素材并创作独特的音乐视频和故事。平台提供多样化的主题和精选作品,帮助用户探索创意灵感。

Project Cover

讯飞文书

讯飞文书依托讯飞星火大模型,为文书写作者提供从素材筹备到稿件撰写及审稿的全程支持。通过录音智记和以稿写稿等功能,满足事务性工作的高频需求,帮助撰稿人节省精力,提高效率,优化工作与生活。

Project Cover

阿里绘蛙

绘蛙是阿里巴巴集团推出的革命性AI电商营销平台。利用尖端人工智能技术,为商家提供一键生成商品图和营销文案的服务,显著提升内容创作效率和营销效果。适用于淘宝、天猫等电商平台,让商品第一时间被种草。

Project Cover

AIWritePaper论文写作

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

投诉举报邮箱: service@vectorlightyear.com
@2024 懂AI·鲁ICP备2024100362号-6·鲁公网安备37021002001498号