Error: ✗ *provisioning.ProvisioningServiceImpl run error: Failed to create provisioner: Failed to read dashboards config: could not parse provisioning config file: big.yaml error: yaml: unmarshal errors:
line 1: cannot unmarshal !!map into []*dashboards.configV0
This doesn’t answer your question, but when I was trying to setup grafana on NixOS, I had a lot of trouble getting the NixOS grafana module to do exactly what I wanted. This is about what I ended up with:
You can see that I setup Grafana to look at the /etc/grafana-dashboards directory for dashboards, and then I just create files in that directory with environment.etc.
Hopefully this either gets you started, or someone else will be able to come along and answer your actual question.
(Also, I imagine you already know this, but just renaming a .json file to .yaml should always work, since YAML is a super-set of JSON. Any valid JSON file is by definition also a valid YAML file.)