![]() ![]() NixOS has a transactional approach to configuration management making configuration changes such as upgrades atomic. Thus, upgrading a system is as reliable as reinstalling from scratch. Since Nix files are pure and declarative, evaluating them will always produce the same result, regardless of what packages or configuration files are on the system. This command does everything necessary to apply the new configuration, including downloading and compiling packages and generating configuration files. device = "/dev/sda1" Īfter changing the configuration file, the system can be updated using the nixos-rebuild switch command. For instance, here is a minimal configuration of a machine running an SSH daemon: īoot. Ī NixOS system is configured by writing a specification of the functionality that the user wants on their machine in a global configuration file. ![]() This means that building a new configuration cannot overwrite previous configurations. In NixOS, the entire operating system – the kernel, applications, system packages, configuration files, and so on – is built by the Nix package manager from a description in a functional build language. Each version of NixOS has a name, such as "Markhor" for the release 20.03.įeatures Declarative configuration model ![]() Each version number has the format "YY.MM", for instance "20.03" was the version released in March 2020. This used to happen around March and September but, starting with 21.05, NixOS targets May and November instead. NixOS publishes releases on a twice a year schedule. In 2015, the Stichting NixOS was founded aiming to support projects like NixOS that implement the purely functional deployment model. In 2003, Eelco Dolstra started NixOS as a research project. NixOS has tools dedicated to DevOps and deployment tasks. Several official package "channels" are offered, including the current Stable release and the Unstable release which follows the latest development. It uses declarative configuration and allows reliable system upgrades. NixOS is a Linux distribution built on top of the Nix package manager. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |