From bae41b07a8c213a674760c23add7c11606c4a520 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 6 Jun 2024 19:29:42 +0200 Subject: [PATCH] promtail: use hostName to set label --- modules/promtail/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/promtail/default.nix b/modules/promtail/default.nix index d0c792a..fa7df7d 100644 --- a/modules/promtail/default.nix +++ b/modules/promtail/default.nix @@ -28,7 +28,7 @@ max_age = "24h"; labels = { job = "systemd-journal"; - host = "nachtigall"; + host = config.networking.hostName; }; }; relabel_configs = [