Jump to content

Nixエコシステム

From NixOS Wiki
Revision as of 19:50, 28 August 2025 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Nixエコシステムの中核をなすものは再現可能なビルドと宣言的な設定、依存関係を含むパッケージやシステムの宣言的な管理ができるように設計された技術の集合です。これはプログラムにおける関数型のパラダイムをシステム領域に応用することで実現でき、そのために再現可能なビルドのために設計された動的型付けで非正格な関数型のDSL、Nix言語を採用しています。

さらに、多くのapplications(拡張Nixエコシステム)がNixのコミュニティによって開発されており、これらの核となる技術を使用し、サポートしています。

公式エコシステム

Core Components of the Nix Ecosystem
Component Manual Description Use License
NixOS NixOS Manual A Linux distribution with all components built by Nix, and thus supporting reproducible and declarative system-wide configuration management as well as atomic upgrades and rollbacks. Declaratively configure desktops, servers & clusters MIT
Nixpkgs Nixpkgs Manual The largest community maintained Nix package and NixOS module repository; standard releases of NixOS are hosted here. Share Nix packages & NixOS modules MIT
Hydra Hydra Manual A Nix based continuous build system. CI build farms GPL-3.0
Nix Nix Manual A package manager that parses Nix expressions specifying reproducible build, putting the result in a store address with a hash of the dependency tree, sidestepping dependency hell and supporting multiversion installs and rollbacks. Reproducible builds & package management in Linux & Darwin LGPL-2.1
The NixOS core ecosystem stack
NixOS

A Linux distribution and configuration system built using Nixpkgs.

Nixpkgs

A large, community-maintained repository of packages.

Hydra

A continuous build system built on Nix.

Nix

A pure and functional build system.

Usage of NixOS

Users install the NixOS distribution on their computers just as any other Linux distribution. They read about packages to install and configuration options in Nixpkgs via https://search.nixos.org and this wiki. They use the Nix language to declaratively describe in a text file what software packages should be installed and how the system should be configured. They run 2 command line programs in a terminal to transform the system into the described system. They use the system as any other Linux system.

NixOSの開発

NixOS の開発者は主に Nixpkgs で活動しており、ソフトウェアのビルド手順を Nix 言語を用いてテキストファイルに記述します。変更はレビューののち Nixpkgs にマージされます。 パッケージのいくつかは NixOS ユーザーのアップデートに要する時間を削減するために Hydra によって事前にビルドされます。

Various examples of NixOS development along with links.
Type of development Location of Development Examples
Platform Agnostic Packaging Nixpkgs coreutils package, stdenv framework, Libreoffice package
Platform Agnostic Tooling Nixpkgs and various repositories upstream/default Nix implementation (CppNix), Hydra source code, Nixpkgs merge bot
NixOS Tooling mostly Nixpkgs nixos-rebuild-ng source code, NixOS Installation ISOs
NixOS Module System Nixpkgs Display Manager configuration, MySQL (and derivative) database configuration
Infrastructure Infrastructure for this Wiki, NixOS infra
Documentation This Wiki, stdenv documentation, NixOS IPv6 configuration (visible in the IPv6 section of the NixOS manual), Nixpkgs Contribution Guidelines
Tech Organisation NixOS RelEng, Nix and NixOS RFCs
Other NixOS artwork, NixOS (and related) discourse, NixOS Foundation