ctucx.git: nixfiles

ctucx' nixfiles

commit bacb8ae9dbbe298fbae3f1495d0daee7000aa737
parent 2bb0e84ad842e89267316a26f809c39e3dfe9b1d
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 27 Jan 2022 12:28:18 +0100

machines/lollo: remove node-exporter
2 files changed, 1 insertion(+), 20 deletions(-)
diff --git a/machines/lollo/configuration.nix b/machines/lollo/configuration.nix
@@ -4,7 +4,7 @@
   imports = [
     ./hardware-configuration.nix
     ../../configurations/common.nix
-    ../../configurations/services/node-exporter.nix
+    ../../configurations/services/prometheus-node-exporter.nix
 
     ./router
     ./smarthome
diff --git a/machines/lollo/node-exporter.nix b/machines/lollo/node-exporter.nix
@@ -1,19 +0,0 @@
-{ config, lib, pkgs, ...}:
-
-{
-
-  services = {
-    prometheus.exporters.node.enable = true;
-    nginx = {
-      enable = true;
-      virtualHosts."lollo.ctu.cx" = {
-        enableACME = true;
-        forceSSL   = true;
-        locations."/node-exporter" = {
-          proxyPass   = "http://127.0.0.1:9100/metrics";
-        };
-      };
-    };
-  };
-
-}