Containerization / declarative configuration management / reproducible builds / immutable distros are hot right now because people have for a long time been sick and tired of their shit breaking when they upgrade, and are starting to realize that encapsulating changes in atomic transactions and keeping track of them better is a better way of doing things.
In other words, NixOS is riding the wave generated by the popularization of stuff like Docker, Ansible, CI/CD, etc.