Variables from bash commannd in systemd unit

Environment="VAR=$(cmd arg)"
ExecStart=/bin/bash -c '/some/command ${VAR}'