service/webserver: add dashboard

This commit is contained in:
Felix Buehler 2025-01-26 17:09:03 +01:00
parent 589714db4b
commit 18c9d409bb
3 changed files with 2358 additions and 0 deletions

View file

@ -172,5 +172,16 @@ lib.makeScope pkgs.newScope (
version = "1";
hash = "sha256-foc00LtcBTXOzvwyddJO0QJkCP82bUXa5iMuQmHqKcg=";
};
caddy =
(buildGrafanaDashboard {
id = 20802;
pname = "caddy-monitoring";
version = "1";
hash = "sha256-vSt63PakGp5NzKFjbU5Yh0nDbKET5QRWp5nusM76/O4=";
}).overrideAttrs
(_: {
src = ./caddy.json; # sadly only imported dashboards work
});
}
)