@publicvoit thanks for the answer.

Yes, NixOS has its flaws,...

However, so far it's the best Linux distro, that lets one setup system in declarative way, instead of imperative.

I.e. the best "docker for OS", AFAIK.