fix: litellm -> grafana
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{lib, ...}: let
|
||||
ntfyGrafanaWebhookSecret = ../../secrets/ntfy-grafana-webhook.age;
|
||||
litellmPrometheusBearerSecret = ../../secrets/litellm-prometheus-bearer.age;
|
||||
in {
|
||||
age = {
|
||||
secrets =
|
||||
@@ -64,6 +65,14 @@ in {
|
||||
file = ntfyGrafanaWebhookSecret;
|
||||
mode = "0400";
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (builtins.pathExists litellmPrometheusBearerSecret) {
|
||||
litellm-prometheus-bearer = {
|
||||
file = litellmPrometheusBearerSecret;
|
||||
owner = "prometheus";
|
||||
group = "prometheus";
|
||||
mode = "0400";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user