diff --git a/configs/porani/configuration.nix b/configs/porani/configuration.nix index 520883e..4a83703 100644 --- a/configs/porani/configuration.nix +++ b/configs/porani/configuration.nix @@ -53,7 +53,7 @@ #}; # new Zealand overwrites - services.netdata.enable = lib.mkForce false ; + # services.netdata.enable = lib.mkForce false ; services.SystemdJournal2Gelf.enable = lib.mkForce false; } diff --git a/system/all/nginx-landingpage.nix b/system/all/nginx-landingpage.nix index 95b09d2..1b47357 100644 --- a/system/all/nginx-landingpage.nix +++ b/system/all/nginx-landingpage.nix @@ -42,7 +42,7 @@ { label= "Dashboard"; - href = "http://kruck.private:5656"; + href = "http://grafana.workhorse.private"; image = "https://media.giphy.com/media/eLmaUW5dJak2k/giphy.gif"; } { @@ -57,7 +57,7 @@ } { label = "Jenkins"; - href = "http://jenkins.schasch.private/"; + href = "http://jenkins.workhorse.private/"; image = "https://media.giphy.com/media/nQYnLFII2sFcQ/giphy.gif"; } { @@ -207,6 +207,22 @@ (lib.attrNames config.module.cluster.services.tinc."private".hosts) ); } + { + text = "netdata"; + items = map ( + {name, host ? "${name}.private", ... }: + { + label = name; + href = "http://${host}:19999/"; + image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif"; + } + ) ( + map + (name: { inherit name; }) + [ "workhorse" "porani" "sputnik" ] + #(lib.attrNames config.module.cluster.services.tinc."private".hosts) + ); + } ]; };}; };