diff --git a/modules/system/homelab/dash.nix b/modules/system/homelab/dash.nix index f6763c1..86a1c7c 100644 --- a/modules/system/homelab/dash.nix +++ b/modules/system/homelab/dash.nix @@ -157,19 +157,25 @@ in { id = "tasks"; hide-header = true; } + { + type = "repository"; + repository = "is-a-dev/register"; + pull-requests-limit = 5; + issues-limit = 3; + commits-limit = 0; + hide-header = true; + } { type = "repository"; repository = "partofmyid/register"; pull-requests-limit = 5; issues-limit = 3; commits-limit = 0; - # token = "\${GITHUB_TOKEN}"; hide-header = true; } { type = "releases"; cache = "1d"; - # token = "\${GITHUB_TOKEN}"; hide-header = true; repositories = gh; } @@ -198,74 +204,11 @@ in { } { type = "dns-stats"; - title = "DNS STATS"; + title = "DNS Stats"; service = "adguard"; - url = "http://main.dns.satr14.my.id:8088/"; - username = "satr14"; - password = "\${ADGUARD_TOKEN}"; + url = "http://localhost:8088/"; hour-format = "12h"; } - { - type = "custom-api"; - title = "PVE Stats"; - cache = "1m"; - allow-insecure = true; - url = "https://homeserver.dns.satr14.my.id:8006/api2/json/cluster/resources"; - headers = { - Accept = "application/json"; - Authorization = "PVEAPIToken=\${PROXVE_TOKEN}"; - }; - template = '' -