This commit is contained in:
4DBug committed 2026-10-25 10:08:15 -05:00
1 parent c86ee98def
commit a3163cdd43
29 files changed
+693 -231

No files matched your search

+2 -1
View File
@@ -6,8 +6,9 @@
ingress = lib.foldl' (a: t: a // t.ingress) { }
(lib.attrValues inputs.self.nixosConfigurations.box.config.services.cloudflared.tunnels);
noProbe = [ "music" "monitor" "metrics" ];
external = [ host.domain "tv.${host.domain}" "tv5.${host.domain}" "cad.${host.domain}" "llama.${host.domain}" ];
targets = map (h: "https://${h}") (lib.attrNames (lib.filterAttrs
(n: v: lib.hasPrefix "http" v && !lib.elem (lib.head (lib.splitString "." n)) noProbe) ingress));
(n: v: lib.hasPrefix "http" v && !lib.elem (lib.head (lib.splitString "." n)) noProbe) ingress) ++ external);
nvidia = lib.elem "nvidia" config.services.xserver.videoDrivers;
exp = config.services.prometheus.exporters;
local = job: port: {