From 21d405ab09a6f79a0eabab8e62d940e0704a57b6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 12 May 2023 14:48:50 -0700 Subject: profiles/monitoring: move promtail to a profile --- hosts/carmel/default.nix | 1 + hosts/carmel/services.nix | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'hosts/carmel') diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix index b50c036..67c768b 100644 --- a/hosts/carmel/default.nix +++ b/hosts/carmel/default.nix @@ -10,6 +10,7 @@ "${self}/profiles/nginx.nix" "${self}/profiles/router.nix" "${self}/profiles/monitoring/exporter.nix" + "${self}/profiles/monitoring/promtail.nix" ]; boot.loader.efi.efiSysMountPoint = "/boot/efi"; diff --git a/hosts/carmel/services.nix b/hosts/carmel/services.nix index 5b6055e..6694950 100644 --- a/hosts/carmel/services.nix +++ b/hosts/carmel/services.nix @@ -1,10 +1,4 @@ { config, pkgs, ... }: { - my.services = { - monitoring = { - promtail.enable = true; - }; - }; - services.nginx = { streamConfig = '' server { -- cgit 1.4.1