services.grafana.settings.database.host

NixOS option

Only applicable to MySQL or Postgres. Includes IP or hostname and port or in case of Unix sockets the path to it. For example, for MySQL running on the same host as Grafana: host = "127.0.0.1:3306" or with Unix sockets: host = "/var/run/mysqld/mysqld.sock"

type: string
Default
"127.0.0.1:3306"
declared in: nixos/modules/services/monitoring/grafana.nixView source on NixOS/nixpkgs →