應用程式
Appearance
⤟︎
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-delegate - 用於分布式 Nix 構建的便捷工具
差異對比
- 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 語言工具
語言伺服器
靜態分析 / 代碼檢查工具
- deadnix - 移除 .nix 文件中的無用代碼
- statix - Nix 編程語言的代碼檢查工具與建議工具
- nixf-diagnose - 代碼檢查工具 —— nixf-tidy(屬於 nixd 項目)的命令行封裝
格式化程序
軟件包維護
- nix-update - 更新 Nix 軟件包的瑞士軍刀式工具。
- nixpkgs-review - 審查 nixpkgs 的拉取請求。
- nix-init - 根據 URL 生成 Nix 軟件包。
- nixpkgs-hammering - 強制執行一系列嚴苛規則,旨在指出並解釋 nixpkgs 軟件包拉取請求中的常見錯誤。
調試
- 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