feat: replace further relative paths by input.self

This commit is contained in:
Swarsel 2024-12-05 03:14:54 +01:00
parent 3a95254b88
commit 83dd2c3f8f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 137 additions and 140 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ self, lib, config, ... }:
{
config = lib.mkIf config.swarselsystems.server.monitoring {
@ -70,7 +70,7 @@
globalConfig = {
scrape_interval = "10s";
};
webConfigFile = ../../../programs/server/prometheus/web.config;
webConfigFile = self + /programs/server/prometheus/web.config;
scrapeConfigs = [
{
job_name = "node";