From 1ee8b0b629869e08f773d9531bfcdcec9a18e6dc Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 18 Jul 2024 22:06:11 +0530 Subject: [PATCH] all: enable node-exporter --- hosts/layne/services/apps/default.nix | 5 ++++- hosts/rico0/services/apps/default.nix | 7 ++++++- hosts/rico1/services/apps/default.nix | 7 ++++++- hosts/rico2/services/apps/default.nix | 5 +++++ hosts/rico2/services/default.nix | 1 + hosts/wynne/services/apps/default.nix | 3 +++ hosts/wynne/services/default.nix | 1 + 7 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 hosts/rico2/services/apps/default.nix create mode 100644 hosts/wynne/services/apps/default.nix diff --git a/hosts/layne/services/apps/default.nix b/hosts/layne/services/apps/default.nix index ec78b93..13ea778 100644 --- a/hosts/layne/services/apps/default.nix +++ b/hosts/layne/services/apps/default.nix @@ -1,3 +1,6 @@ _: { - imports = [ ./transmission.nix ]; + imports = [ + ./transmission.nix + ../../../shared/node-exporter.nix + ]; } diff --git a/hosts/rico0/services/apps/default.nix b/hosts/rico0/services/apps/default.nix index bf2d46a..9981b5f 100644 --- a/hosts/rico0/services/apps/default.nix +++ b/hosts/rico0/services/apps/default.nix @@ -1,3 +1,8 @@ _: { - imports = [ ./blocky.nix ./grafana.nix ./prometheus.nix ]; + imports = [ + ./blocky.nix + ./grafana.nix + ./prometheus.nix + ../../../shared/node-exporter.nix + ]; } diff --git a/hosts/rico1/services/apps/default.nix b/hosts/rico1/services/apps/default.nix index 3827abc..6fb1ab8 100644 --- a/hosts/rico1/services/apps/default.nix +++ b/hosts/rico1/services/apps/default.nix @@ -1,3 +1,8 @@ _: { - imports = [ ./adtya.xyz.nix ./proofs.nix ./wiki.nix ]; + imports = [ + ./adtya.xyz.nix + ./proofs.nix + ./wiki.nix + ../../../shared/node-exporter.nix + ]; } diff --git a/hosts/rico2/services/apps/default.nix b/hosts/rico2/services/apps/default.nix new file mode 100644 index 0000000..fd37160 --- /dev/null +++ b/hosts/rico2/services/apps/default.nix @@ -0,0 +1,5 @@ +_: { + imports = [ + ../../../shared/node-exporter.nix + ]; +} diff --git a/hosts/rico2/services/default.nix b/hosts/rico2/services/default.nix index 2ecb011..fb1c6aa 100644 --- a/hosts/rico2/services/default.nix +++ b/hosts/rico2/services/default.nix @@ -1,5 +1,6 @@ _: { imports = [ + ./apps ./btrfs.nix ./ssh.nix ../../shared/caddy.nix diff --git a/hosts/wynne/services/apps/default.nix b/hosts/wynne/services/apps/default.nix new file mode 100644 index 0000000..d1ae372 --- /dev/null +++ b/hosts/wynne/services/apps/default.nix @@ -0,0 +1,3 @@ +_: { + imports = [ ../../../shared/node-exporter.nix ]; +} diff --git a/hosts/wynne/services/default.nix b/hosts/wynne/services/default.nix index 34e9c6d..c03bd30 100644 --- a/hosts/wynne/services/default.nix +++ b/hosts/wynne/services/default.nix @@ -1,5 +1,6 @@ _: { imports = [ + ./apps ./btrfs.nix ./ssh.nix ../../shared/caddy.nix