Compare commits

..

No commits in common. "00b8a72b1f5890e5598e52d1a4f3936c16d13036" and "2fc339cdd30a8a6f84c933e3b2465107b728c50e" have entirely different histories.

3 changed files with 34 additions and 56 deletions

View file

@ -22,16 +22,10 @@
host = config.networking.hostName; host = config.networking.hostName;
}; };
}; };
relabel_configs = [ relabel_configs = [{
{ source_labels = [ "__journal__systemd_unit" ];
source_labels = [ "__journal__systemd_unit" ]; target_label = "unit";
target_label = "unit"; }];
}
{
source_labels = [ "__journal__transport" ];
target_label = "transport";
}
];
} }
]; ];

View file

@ -22,16 +22,10 @@
host = config.networking.hostName; host = config.networking.hostName;
}; };
}; };
relabel_configs = [ relabel_configs = [{
{ source_labels = [ "__journal__systemd_unit" ];
source_labels = [ "__journal__systemd_unit" ]; target_label = "unit";
target_label = "unit"; }];
}
{
source_labels = [ "__journal__transport" ];
target_label = "transport";
}
];
} }
]; ];

View file

@ -18,38 +18,17 @@
config.services.tinc.networks."private".hostSettings)); config.services.tinc.networks."private".hostSettings));
} }
{ {
text = "robi"; text = "netdata";
items = [ items = map
{ ({ name, host ? "${name}.private", ... }: {
label = "Jellyfin"; label = name;
href = "http://flix.ingolf-wagner.de/"; href = "http://${host}:19999/";
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
}
{
label = "netdata";
href = "http://robi.private:19999/";
image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif"; image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif";
} })
{ (map (name: { inherit name; }) [ "robi" "pepe" "sterni" ]);
label = "logs";
href = "http://grafana.robi.private/explore";
image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg";
}
{
label = "grafana";
href = "http://grafana.robi.private/";
image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg";
}
{
label = "prometheus";
href = "http://prometheus.robi.private/";
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
}
];
} }
{ {
text = "pepe"; text = "Home";
items = [ items = [
{ {
label = "HomeAssistant"; label = "HomeAssistant";
@ -66,30 +45,41 @@
href = "http://pepe:8096/"; href = "http://pepe:8096/";
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif"; image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
} }
{ {
label = "netdata"; label = "robi - logs";
href = "http://pepe.private:19999/"; href = "http://grafana.robi.private/explore";
image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif"; image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg";
} }
{ {
label = "logs"; label = "robi - grafana";
href = "http://grafana.robi.private/";
image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg";
}
{
label = "robi - prometheus";
href = "http://prometheus.robi.private/";
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
}
{
label = "pepe - logs";
href = "http://grafana.pepe.private/explore"; href = "http://grafana.pepe.private/explore";
image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg"; image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg";
} }
{ {
label = "grafana"; label = "pepe - grafana";
href = "http://grafana.pepe.private/"; href = "http://grafana.pepe.private/";
image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg"; image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg";
} }
{ {
label = "prometheus"; label = "pepe - prometheus";
href = "http://prometheus.pepe.private/"; href = "http://prometheus.pepe.private/";
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg"; image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
} }
]; ];
} }
{ {
title = "Various Links"; title = "Various Links";
items = [ items = [