Support Ukrain
Adaltas logoAdaltasAdaltas logoAdaltas

NixOS

NixOS is a Linux distribution whose first version was released in 2013. It is different from Nix, the package manager on which it is based. When applied to the entire system, Nix's purely functional deployment model makes NixOS stand out from other distributions. Among its strengths:

  • System reproducibility: NixOS is based on a declarative model. The entire OS is built by Nix from configuration files (the main one is configuration.nix, located in /etc/nixos/). The configuration can be modified and rebuilt at any time using the nixos-rebuild switch command. This makes NixOS easily reproducible. It allows you to get the desired configuration files on the target machine and to launch a build on this machine.
  • Atomic and reliable updates and rollback system: Each build is kept in memory which allows to come back to any previous version. In case of interruption during a build, a power failure for example, the system restarts autonomously on the previous version.
  • Package management: Nix manages packages in an isolated way. It allows different versions of the same dependency to coexist on the same device. This management is also facilitated and optimized between several users.

Related articles

NixOS: Enabling LXD virtual machines using Flakes

NixOS: Enabling LXD virtual machines using Flakes

Categories: Hack, Learning | Tags: GitHub, Learning and tutorial, Linux, LXD, Packaging, VM, NixOS, Open source

Nixpkgs is an ever-increasing collection of software packages for Nix and NixOS. Even with more than 80,000 packages, you easily run in a situation where there is a functionality that is not yet…

Kellian COTTART

By Kellian COTTART

May 13, 2022

Canada - Morocco - France

International locations

10 rue de la Kasbah
2393 Rabbat
Canada

We are a team of Open Source enthusiasts doing consulting in Big Data, Cloud, DevOps, Data Engineering, Data Science…

We provide our customers with accurate insights on how to leverage technologies to convert their use cases to projects in production, how to reduce their costs and increase the time to market.

If you enjoy reading our publications and have an interest in what we do, contact us and we will be thrilled to cooperate with you.