From 3b3bbb61c31f8faad11b1987f06328ed040c0faa Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Fri, 20 Dec 2024 13:12:54 +0200 Subject: [PATCH] added prometheus --- adyya-pkgs/adyya_pkgs.mod.nix | 2 +- art.mod.nix | 2 +- services/monitoring/prometheus.mod.nix | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/adyya-pkgs/adyya_pkgs.mod.nix b/adyya-pkgs/adyya_pkgs.mod.nix index e5af837..696dc9d 100644 --- a/adyya-pkgs/adyya_pkgs.mod.nix +++ b/adyya-pkgs/adyya_pkgs.mod.nix @@ -66,7 +66,7 @@ { nixpkgs.overlays = [ (final: prev: { - # beeref = final.callPackage ./beeref.nix {}; # I'M GOING TO TRUNCATE *YOU*, BEEREF. + # beeref = final.callPackage ./beeref.nix {}; # I'M GOING TO TRUNCATE *YOU*, BEEREF. }) ]; } diff --git a/art.mod.nix b/art.mod.nix index 51dd77f..8464dfe 100644 --- a/art.mod.nix +++ b/art.mod.nix @@ -18,7 +18,7 @@ darktable obs-studio # pureref # not updated on nixpkgs apparently - # beeref # straight up doesn't work + # beeref # straight up doesn't work ]; } ) diff --git a/services/monitoring/prometheus.mod.nix b/services/monitoring/prometheus.mod.nix index e69de29..412a8dc 100644 --- a/services/monitoring/prometheus.mod.nix +++ b/services/monitoring/prometheus.mod.nix @@ -0,0 +1,12 @@ +{ + glucose.modules = [ + {( + services.prometheus = { + enable = true; + port = 6750; + + enableReload = true; + }; + )} + ]; +} \ No newline at end of file