nixos-config/hosts/panopticon/grafana.nix
gwg313 ea9850107f
add panopticon
Signed-off-by: gwg313 <gwg313@pm.me>
2025-07-02 06:51:06 -04:00

27 lines
503 B
Nix

_: {
services.grafana = {
enable = true;
settings = {
server = {
http_addr = "127.0.0.1";
http_port = 3000;
};
security = {
admin_user = "admin";
admin_password = "changeme";
};
};
provision = {
datasources.settings.datasources = [
{
name = "Loki";
type = "loki";
access = "proxy";
url = "http://localhost:3100";
isDefault = true;
}
];
};
};
}