about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-04-23 14:34:00 -0700
committerFranck Cuny <franck@fcuny.net>2023-04-23 14:37:20 -0700
commit26a8c7335d3cfa8ec3fb9a4ecadbdb7ea2141089 (patch)
tree08f485f20da1b76a8d2ea897507535adabbda957 /hosts
parentmodules/monitoring: set the host's name as a label for promtail (diff)
downloadworld-26a8c7335d3cfa8ec3fb9a4ecadbdb7ea2141089.tar.gz
hosts/carmel: enable promtail
Diffstat (limited to '')
-rw-r--r--hosts/carmel/services.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/carmel/services.nix b/hosts/carmel/services.nix
index 048a631..89f888d 100644
--- a/hosts/carmel/services.nix
+++ b/hosts/carmel/services.nix
@@ -1,6 +1,10 @@
 { config, pkgs, ... }: {
   my.services = {
-    monitoring.node-exporter.enable = true;
+    monitoring = {
+      node-exporter.enable = true;
+      promtail.enable = true;
+    };
+
     avahi = {
       enable = true;
       withReflector = true;