brew or apt # this will install curl
nix-env -iA curl
# this spawns a new shell with curl installed
# once this shell is exited, it will no longer be available
nix-shell -p curl
nix-shell allows for the creation of isolated development environmentszsh, I could do this via a configuration. The rest of my system’s configuration would live here toostate = nextState(currentState)