1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

nixos/grafana-image-renderer: use grafana freeform settings in provisioning

This commit is contained in:
Charlotte Van Petegem 2023-01-21 10:16:41 +01:00
parent 68403fe04f
commit f8a3c4e94f
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -108,7 +108,7 @@ in {
services.grafana.settings.rendering = mkIf cfg.provisionGrafana {
url = "http://localhost:${toString cfg.settings.service.port}/render";
callback_url = "http://localhost:${toString config.services.grafana.port}";
callback_url = "http://localhost:${toString config.services.grafana.settings.server.http_port}";
};
services.grafana-image-renderer.chromium = mkDefault pkgs.chromium;