diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-12 14:48:50 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-12 14:48:50 -0700 |
commit | 21d405ab09a6f79a0eabab8e62d940e0704a57b6 (patch) | |
tree | 2dc89cc7cc5e2a8e96c7e7d58aad5e7e988a058e /hosts/carmel | |
parent | profiles/monitoring: move node exporter to a profile (diff) | |
download | world-21d405ab09a6f79a0eabab8e62d940e0704a57b6.tar.gz |
profiles/monitoring: move promtail to a profile
Diffstat (limited to 'hosts/carmel')
-rw-r--r-- | hosts/carmel/default.nix | 1 | ||||
-rw-r--r-- | hosts/carmel/services.nix | 6 |
2 files changed, 1 insertions, 6 deletions
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 { |