305 current 2025-10-11 16:58:36 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 17:04:40 -05:00
parent 0ede6674dd
commit 7326275c09
3 changed files with 26 additions and 1 deletions

View File

@@ -1,5 +1,21 @@
{ pkgs, config, lib, ... }:
/*
this is a wrapper module for glance that allows you to
to pass monitor entries in with nix, all declaratively!
| <8yy> |
V V
# add to glance
modules.services.glance.links.mediastack = [{
title = service;
url = "https://${cfg.url}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${service}";
allow-insecure = true; }];
*/
let
service = "glance";
cfg = config.modules.services.${service};