spack -e x config --scope=y add z
* `spack -e x config --scope=y add z` add to scope instead of to the environment file.