[Nix] Adds MCP config.

This commit is contained in:
2025-03-02 14:34:22 -08:00
parent 4c5ea117f9
commit 871a065ea8
24 changed files with 1062 additions and 16 deletions

View File

@@ -0,0 +1,20 @@
{ config, pkgs, ... }:
let inherit (import ./lib.nix config) mkContainer; in
{
virtualisation.oci-containers.containers.prometheus = mkContainer {
image = "prom/prometheus";
hostName = "prometheus";
port = 9090;
volumes = [
"/tank/config/prometheus:/etc/prometheus"
];
environment = {
};
homepageOpts = {
group = "Infra";
name = "Prometheus";
icon = "prometheus.svg";
description = "Prometheus monitoring";
};
};
}