Something is terribly wrong if one is set but not the other so error out with a message if that happens.
It is safest to use the system install of Nix since that will be compatible with the running nix-daemon and/or databases. Also add a printout of the used Nix version in the activation script when running in verbose mode. Fixes #218.