Removed provision config away from kitt

This commit is contained in:
daragh 2024-05-23 04:34:19 +01:00
parent 9148963c1f
commit 963a189bcb
No known key found for this signature in database
2 changed files with 2 additions and 8 deletions

View file

@ -66,9 +66,9 @@ in {
enable = true;
datasources.settings.datasources = [
{
name = cfg.datasource.name;
name = "Prometheus";
type = "prometheus";
url = cfg.datasource.url;
url = "http://localhost:${toString config.services.skynet.prometheus.server.port}";
isDefault = true;
editable = true;
}

View file

@ -97,11 +97,5 @@ in {
ip = ip_pub;
name = name;
};
# maybe just do provision config directly ?
datasource = {
name = "Prometheus";
url = "http://localhost:${toString config.services.skynet.prometheus.server.port}";
};
};
}