When comparing Kali Linux vs Nix os , the Slant community recommends Kali Linux for most people. In the question“What is the most secure Linux distro?” Kali Linux is ranked 9th while Nix os is ranked 10th.
Ranked in these QuestionsQuestion Ranking
Pro Standard pentest tool set
Pro Better than ParrotOS, BackBox for hacking purpose
Contains too many tools for hacking. Those tools are not already included in BackBox or ParrotOS.
Pro Live session distro used for forensics
Pro Upgrading the system is extremely reliable
Since NixOS stores all its packages in isolation from each other in
/nix/store and because of the declarative configuration model, upgrading NoxOS systems is extremely reliable. Furthermore, it gives you the ability to roll back upgrades.
Pro Extremely reproducible state of installation
Every package in your system is generated from a configuration file. This makes it very easy to reproduce that environment. Just copy the config file into a new machine and it's done.
Pro Versatile snapshot system
You can use and test snapshots without rebooting. Booting into snapshots or test configurations is possible without risking the system's stability.
Pro Great for Haskell development
It has all of hackage in it's package manager (which is confusingly named "nix" as well) due to being based around hashing and allowing you to compile in a sort of virtual machine (really just changing the PATH variable temporarily) it solves many of the versioning problems that you commonly have with cabal. Here's a tutorial (there's many others as well) http://www.cse.chalmers.se/~bernardy/nix.html.
Also I should note that you can use the package manager a la carte on Mac and most any linux distro.
Pro Has docker like system built in
Pro Allows parallel configurations for multiple projects
As everything is isolated, you can have on the same machine multiple configurations to meet project requirements that would be mutually exclusive on other OSes.
Con Not intended to be a daily driver
This distro was written for pen testing and security work. It is not meant to be a day-to-day OS (unless that's your job).
Con Very old packages
E.G. Firefox's current version is 61 but Kali linux consists of its 52th version. Though kernel is not that old.
Con The configuration language is hard to figure out
For good reason. It's a purely functional language. However not even close to bash.