Provisioned dashboard not showing up


I’m trying to add a dashboard through provisioning. I have a single dashboard.json in /var/lib/grafana/dashboards and a YAML config file in /etc/grafana/provisioning/dashboards that looks like this:

# # config file version
apiVersion: 1

  - name: 'default'
  orgId: 1
  folder: ''
  type: file
  updateIntervalSeconds: 3 #how often Grafana will scan for changed dashboards
    path: /var/lib/grafana/dashboards 

However, the dashboard doesn’t show up, even after multiple restarts. I’ve checked the logs, but didn’t see anything regarding this. I was successfully able to add a datasource through provisioning in much the same way, so I’m not sure what could be wrong. Any ideas what could be wrong?