Disable loki in grafana, settings.server not just server

This commit is contained in:
Lillian Violet 2024-03-26 14:37:02 +01:00
parent ea9aa2eddd
commit 2c33f7d069

View file

@ -6,7 +6,7 @@
# grafana configuration # grafana configuration
services.grafana = { services.grafana = {
enable = true; enable = true;
server = { settings.server = {
domain = "grafana.lillianviolet.dev"; domain = "grafana.lillianviolet.dev";
http_port = 2342; http_port = 2342;
http_addr = "127.0.0.1"; http_addr = "127.0.0.1";
@ -20,13 +20,13 @@
url = "http://localhost:${config.services.prometheus.port}"; url = "http://localhost:${config.services.prometheus.port}";
isDefault = true; isDefault = true;
} }
{ # {
name = "Loki"; # name = "Loki";
type = "loki"; # type = "loki";
access = "proxy"; # access = "proxy";
url = "http://localhost:${config.services.loki.port}"; # url = "http://localhost:${config.services.loki.port}";
isDefault = true; # isDefault = true;
} # }
]; ];
}; };
}; };