Экосистема Nix
The Core Nix Ecosystem is a collection of technologies designed to reproducibly build and declaratively configure and manage packages and systems as well as their dependencies. It achieves this by translating the functional paradigm from the program to the system domain by utilizing a dynamic, functional and lazy DSL called the Nix Language for specifying reproducible builds.
In addition there are many other applications (Extended Nix Ecosystem) developed by the Nix community, utilizing and supporting these core technologies.
Официальная экосистема
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 |
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 |
Использование NixOS
Пользователи устанавливают дистрибутив NixOS на свои компьютеры так же, как и любой другой дистрибутив Linux. Они читают о пакетах для установки и параметрах конфигурации в Nixpkgs на сайте https://search.nixos.org и в этой вики. Они используют язык Nix, чтобы декларативно описать в текстовом файле, какие пакеты программ должны быть установлены и как должна быть настроена система. Они запускают 2 программы командной строки в терминале, чтобы преобразовать систему в описанную систему. Они используют систему как любую другую систему Linux.
Development of NixOS
Developers of NixOS mainly work on Nixpkgs to describe in text files in Nix language how software packages should be build. After peer review these changes are integrated in Nixpkgs. Some of these packages are pre built on Hydra to reduce the update time for NixOS users.