应用程序

Revision as of 19:49, 15 August 2026 by Ardenet (talk | contribs) (Created page with "=== 软件包维护 ===")
⤟︎
This article or section is a candidate for merging with Nix ecosystem. While the scopes are different, an article with the "official tools" as its first section and "built with nix" as a further section under it may be much more fitting. Further information may be found in the relevant discussion page.

本文列出了专为 Nix 构建或基于 Nix 开发的应用程序;这构成了所谓的扩展 Nix 生态系统的清单(关于核心 Nix 生态系统,请参阅 Nix 生态系统)。

如果您正在寻找 Linux 软件/应用程序,您应该查看 软件

非 NixOS 发行版

基于 Nix 构建的各类应用程序包括:

  • not-os - 为嵌入式设备构建系统固件

基于 Nix 构建

利用 Nix 的项目。

  • styx - 基于 Nix 表达式语言的静态网站生成器
  • bionix - 生物信息学流水线(pipeline)管理与执行工具
  • ethereum.nix - 一套 Nix 软件包与 NixOS 模块,旨在简化以太坊相关服务及基础设施的运维
  • nixos-mailserver - 简单易用且功能完备的 NixOS 邮件服务器

Nix 平台

为 Nix 增加支持(例如针对额外平台或主要功能)的项目。

  • nix-darwin - 适用于 Darwin 的 NixOS 模块
  • musnix - 适用于 NixOS 的实时音频模块
  • nixGl - 用于在 NixOS 之外运行 OpenGL 应用程序的包装器

Nix 工具

专为 Nix 生态系统构建的各类工具(例如对 Nix 核心工具的增强或替代方案)。

常规配置

  • home-manager - 使用 Nix 管理用户环境的系统
  • plasma-manager - 使用 Home-manager 管理 KDE Plasma
  • Nixvim - 基于 Nix 模块构建的 Neovim 发行版
  • nvf - 模块化、可扩展且可移植的 Neovim 配置框架

Flakes

  • deploy-rs - Nix Flake 部署工具
  • flake-utils-plus - Flake 模板与辅助库(是对下方 flake-utils 的扩展)
  • flake-utils - 一组用于构建 Flake 的实用函数
  • flake-parts - 利用模块系统简化 Nix Flakes
  • snowfall - 基于 Nix Flakes,为系统、软件包、模块、Shell 环境、模板等提供统一配置方案。

归档

  • narfuse - 用于将 Nix 归档 (NAR) 文件挂载为虚拟 Nix 存储的 FUSE 文件系统

Clustering

差异对比

  • nix-diff - 比较 Nix 推导(derivations)
  • niff - 比较两个 Nix 表达式以确定哪些属性发生了变化
  • nvd - Nix/NixOS 软件包版本差异比较工具
  • lix-diff - Nix/NixOS 闭包差异比较工具

依赖项

  • nix-tree - Nix derivation 的交互式依赖浏览工具
  • nix-visualize - 将指定软件包的依赖关系可视化为图表
  • npins - 用于管理 Nix 项目中各类依赖的简单工具
  • niv - 实现 Nix 项目依赖管理的便捷工具
  • Nixtamal - 实现 Nix 输入锁定的工具

Nix 语言工具

语言服务器

  • nil - Nix 语言服务器,一款用于编写 Nix 代码的增量分析辅助工具
  • nixd - Nix 语言服务器,比 nil 更新,功能更丰富

静态分析 / 代码检查工具

  • deadnix - 移除 .nix 文件中的无用代码
  • statix - Nix 编程语言的代码检查工具与建议工具
  • nixf-diagnose - 代码检查工具 —— nixf-tidy(属于 nixd 项目)的命令行封装

格式化程序

  • nixfmt - Nix 代码官方格式化工具
  • alejandra - Nix 代码非官方格式化工具

软件包维护

  • nix-update - Swiss-knife for updating nix packages.
  • nixpkgs-review - Review nixpkgs pull requests
  • nix-init - Generate Nix packages from URLs
  • nixpkgs-hammering - Enforce a set of nit-picky rules that aim to point out and explain common mistakes in nixpkgs package pull requests

Debugging

  • dwarffs - Fetches DWARF debug info files for gdb automatically from cache.nixos.org
  • nixseparatedebuginfod - Fetches debug symbols and source files for debuginfod-capables tools like gdb
  • nix-index - Quickly locate nix packages with specific files
  • nix-du - Find which gc-roots take disk space in a nix store
  • nix-info - Homebrew info querying for Nix
  • userscan - Scans directories containing manually compiled programs and registers them with the Nix garbage collector
  • nix-search-cli - CLI for searching packages on search.nixos.org

Shell

Other

  • nix-bundle - package Nix attributes into single-file executables
  • nix-user-chroot - install Nix as an unpriviliged user on any system
  • nh - a rewrite of nixos-rebuild featuring diffs with nvd and a tree of builds with nix-output-manager, as well as other quality of life features such as package searching
  • nixos-cli - an all-in-one tool to manage any NixOS installation with ease, combining the features of all the `nixos-*` commands.

Nix Operations

Operations tools for the Nix Ecosystem:

Official

  • Hydra - Nix's official continuous integration and build system
  • NixOps - Nix's official (but unmaintained) tool for deploying to NixOS machines in a network or the cloud

Deployment

  • Bento - a NixOS fleet manager supporting remote systems not up 24/7
  • colmena - a NixOS deployment tool
  • 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
  • lollypops - a parallel and stateless NixOS deployment tool
  • Morph - a NixOS deployment tool
  • Nixinate - A Nix flake library to provide app outputs for managing existing NixOS hosts over SSH
  • nixos-build --target-host
  • Nixus - an experimental NixOS deployment tool
  • wire - A tool to deploy NixOS systems. Its usage is inspired by colmena however it is not a fork.

Docker

  • Arion - configure Docker Compose with Nix modules
  • Nixery - ad-hoc container images from Nix

Kubernetes

  • kubenix - Kubernetes resource builder written in Nix
  • nix-kubernetes - Kubernetes deployment manager written in nix

Alternative nix implementations & parser

  • hnix (haskell, parser & evaluator)
  • rnix (rust, parser)
  • go-nix (go, parser & nix-compatible file hasher)
  • nix-idea (java, parser)
  • lix (c++, fork of NixOS/nix)
  • snix (rust, cli & evaluator & store)

Additional unofficial ecosystem

None of the services are required to use Nix. None of these services are affiliated with the NixOS Foundation.

Cachix
binary caches as a service. Free for public caches, subscription for private token-protected caches.
Hercules CI
simplify your CI setup with stateless build agents. Free for open source, per-user subscription for private repositories.
Garnix
nix CI, caching (open beta) and cloud hosting (private alpha) based on Nix as a service. Currently free, but offers commerical plans.
nixbuild.net
remote Nix builders as a service for x86_64 and AArch64. Pay-per-use.

See also