cluster/services/monitoring: use forService

This commit is contained in:
Max Headroom 2024-08-03 02:33:20 +02:00
parent 77d92b7c1f
commit 8dcd4f39e1

View file

@ -72,7 +72,7 @@ in
}; };
}; };
garage = { garage = config.lib.forService "monitoring" {
keys = { keys = {
loki-ingest.locksmith = { loki-ingest.locksmith = {
nodes = config.services.monitoring.nodes.logging; nodes = config.services.monitoring.nodes.logging;
@ -93,7 +93,7 @@ in
}; };
}; };
ways = { ways = config.lib.forService "monitoring" {
monitoring = { monitoring = {
consulService = "grafana"; consulService = "grafana";
extras.locations."/".proxyWebsockets = true; extras.locations."/".proxyWebsockets = true;