updates / experimental TC setup

This commit is contained in:
2026-10-24 10:44:58 +02:00
parent 3c25fc5d41
commit d36b281a4d
48 changed files with 1147 additions and 718 deletions
+7 -2
View File
@@ -2,7 +2,12 @@
#
# Q19 decisions: Prometheus node_exporter + Loki promtail (now: Alloy) +
# NetBird Inventory + Asset-Management-Tool (default: Snipe-IT).
{config, lib, pkgs, ...}: let
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkOption types;
cfg = config.az.tc;
in {
@@ -43,7 +48,7 @@ in {
# Stored in agenix under secrets/snipeit-api-token.age.
};
config = mkIf cfg.enable {
config = mkIf (cfg.enable && cfg.features.monitoring) {
services.prometheus.exporters.node = {
enable = true;
enabledCollectors = ["systemd" "processes" "tcpstat"];