init xrt and fflm
This commit is contained in:
@@ -366,6 +366,19 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
# Grafana reads ntfy credentials via systemd EnvironmentFile so the
|
||||
# $__env{} provider works in alerting provisioning YAML. The file
|
||||
# provider ($__file{}) only works in grafana.ini, not in provisioning.
|
||||
"grafana.env" = {
|
||||
content = ''
|
||||
GRAFANA_NTFY_USER=${config.sops.placeholder."jallen-nas/ntfy/user"}
|
||||
GRAFANA_NTFY_PASSWORD=${config.sops.placeholder."jallen-nas/ntfy/password"}
|
||||
'';
|
||||
mode = "0400";
|
||||
owner = "grafana";
|
||||
restartUnits = [ "grafana.service" ];
|
||||
};
|
||||
|
||||
# CrowdSec HTTP notification plugin config with credentials baked in.
|
||||
# The plugin process spawned by crowdsec/cscli reads this file directly.
|
||||
# Credentials are embedded in the URL using HTTP basic auth so no
|
||||
|
||||
Reference in New Issue
Block a user