configuration.nix/hosts/rico0/services/apps/grafana.nix

27 lines
520 B
Nix

_: {
services = {
caddy = {
virtualHosts."grafana.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:9091
'';
};
};
grafana = {
enable = true;
settings = {
server = {
domain = "grafana.labs.adtya.xyz";
http_addr = "127.0.0.1";
http_port = 9091;
};
analytics = {
enable = false;
};
panels = {
disable_sanitize_html = true;
};
};
};
};
}