Add site monitors

This commit is contained in:
Oliver Davies 2025-04-28 00:36:43 +01:00
parent 532d49dd58
commit 8baa3ea1cb
2 changed files with 36 additions and 22 deletions

View file

@ -1,10 +1,14 @@
{ config }:
[
{
"Media" = [
{
"Jellyfin" = {
description = "Jellyfin";
href = "https://jellyfin.oliverdavies.uk";
icon = "jellyfin";
description = "The Free Software Media System";
siteMonitor = "http://localhost:8096";
};
}
];
@ -13,11 +17,16 @@
{
"Services" = [
{
"Paperless-ngx" = {
description = "Document management system";
href = services.paperless.settings.PAPERLESS_URL;
icon = "paperless";
};
"Paperless-ngx" =
let
cfg = config.services.paperless;
in
{
description = "Document management system";
href = cfg.settings.PAPERLESS_URL;
icon = "paperless";
siteMonitor = "http://localhost:${toString cfg.port}";
};
}
];
}