Added Prometheus Exporter to std config; Added Grafana;

This commit is contained in:
2026-04-10 22:28:21 +02:00
parent 46fb7622e9
commit 40185d110a
5 changed files with 61 additions and 25 deletions

View File

@@ -4,6 +4,7 @@
lib,
primaryUser,
isServer,
isDarwin,
...
}:
{
@@ -82,9 +83,16 @@
apparmor.enable = false;
};
services.gnome = lib.mkIf (!isServer) {
tinysparql.enable = true;
localsearch.enable = true;
services = {
prometheus.exporters.node = lib.mkIf (!isDarwin) {
enable = true;
port = 9002;
};
gnome = lib.mkIf (!isServer) {
tinysparql.enable = true;
localsearch.enable = true;
};
};
users.users.${primaryUser} = {