๐ NixOS 20.09 Released!
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
What is NixOS?
NixOS is the purely functional linux distribution. It's built upon the Nixpkgs package manager, making system configuration declarative, reproducible, atomic, and many other features. Nixpkgs is also the most up-to-date package repository, even beating Arch+AUR.
What makes NixOS different?
- Declarative System-wide Configuration Want to run openssh?
services.openssh.enable = true;
Want to use ZFS?boot.supportedFilesystems = [ "zfs" ];
NixOS allows you define a desired system in a single configuration file. Which makes your configuration easy to version control and share between systems. - System Rollbacks Afraid that some hack you did may have borked your system? No Problem! Anytime your system configuration is changed, NixOS will create a new boot generation. These generations can co-exist without interfering with eachother!
- Non-Opinionated. NixOS 20.09 has 17 Desktop Managers, and 34 Window managers available for you to choose.
- And many more unique qualities!
What makes Nixpkgs different?
- Non-Root installation Nixpkgs is the only package manager (besides guix which derives from nix), which allows for unprivileged users to install packages. Packages are installed to a read-only mount, so there there's no chance of malware injection.
- Linux and MacOS (darwin) interop Nixpkgs is also available for darwin kernels. Shopify uses this to create consistent dev environments for their developers.
- Sandboxed builds Afraid of untrusted code? Builds are done in their own kernel namespace (chroot), and will only have access to their explicit dependencies at build time.
Who should be interested in NixOS?
Well, everyone of course! But especially devops and developer folks. Due to the declarative and purity aspect of nixpkgs, all builds and configurations can be version controlled, cached and shared. NixOS can easily be extended to produce docker images, vm images, or even distributed deployments. You can even write reproducible multi-node integration tests. Tinkers! Love playing around with the latest desktop manager or modifying builds? Nixpkgs allows you modify any package you wish locally! Nixpkgs is actually a source distribution, but it's guarantees around purity and reproducibility are so strong that you can get a binary cache "for free".
[link] [comments] ...