mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
fix: grafana settings schema
This commit is contained in:
parent
b304e529b4
commit
4b0d68089a
@ -8,10 +8,11 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.services.grafana.enable {
|
config = lib.mkIf config.services.grafana.enable {
|
||||||
|
|
||||||
services.grafana.settings = {
|
services.grafana.settings.server = {
|
||||||
|
domain = config.metricsServer;
|
||||||
http_addr = "127.0.0.1";
|
http_addr = "127.0.0.1";
|
||||||
http_port = 3000;
|
http_port = 3000;
|
||||||
domain = config.metricsServer;
|
protocol = "http";
|
||||||
};
|
};
|
||||||
|
|
||||||
caddy.routes = [{
|
caddy.routes = [{
|
||||||
|
Loading…
Reference in New Issue
Block a user