应用程序
⤟︎
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 - FUSE filesystem for mounting Nix archive (NAR) files as a virtual Nix store
Clustering
- nix-delegate - Convenient utility for distributed Nix builds
Comparison
Dependencies
- nix-tree - Interactive dependency browser for Nix derivations
- nix-visualize - Visualize the dependencies of a given package as a graph
- npins - Simple tool for handling different types of dependencies in a Nix project
- niv - Painless dependencies for Nix projects
- Nixtamal - Fulfilling input pinning for Nix
Nix language tools
Language servers
Static analysis / linters
- deadnix - Removes unused code from .nix files
- statix - Linter and suggestions for the nix programming language
- nixf-diagnose - Linter - CLI wrapper around nixf-tidy (part of the nixd project)
Formatters
Package maintenance
- 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
Search
- 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
- nix-bash-completions - Bash completion for
nix*commands - nixos-shell (Mic92) - Spawns lightweight nixos vms in a shell (like vagrant)
- nixos-shell (chrisfarms) - like nix-shell, but for NixOS modules. Buildable version can be found in this fork
- extra-container - Run declarative NixOS containers from the command line. Similar to nixos-shell (chrisfarms)
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
Deployment
- Bento - a NixOS fleet manager supporting remote systems not up 24/7
- 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
Kubernetes
- kubenix - Kubernetes resource builder written in Nix
- nix-kubernetes - Kubernetes deployment manager written in nix
Alternative nix implementations & parser
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
- awesome-nix
- Language-specific package helpers
- Alternative Package Sets
- Get inspiration from other peoples NixOS configuration
- NixOS Packages Search for searching through NixOS packages