From a664bfbe1b8525e6825c75bd13bd3a1d3e58a0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 11 Jul 2024 16:07:39 +0200 Subject: [PATCH] reinstate zaatar --- configs/zsh.nix | 2 +- lib/default.nix | 2 +- systems/makanek/monitoring/default.nix | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/zsh.nix b/configs/zsh.nix index c163dd6..8ec7c00 100644 --- a/configs/zsh.nix +++ b/configs/zsh.nix @@ -11,7 +11,7 @@ environment.variables.ATUIN_CONFIG_DIR = toString (pkgs.writeTextDir "/config.toml" '' auto_sync = true update_check = false - sync_address = "http://tahina.r:8888" + sync_address = "http://zaatar.r:8888" sync_frequency = 0 style = "compact" ''); diff --git a/lib/default.nix b/lib/default.nix index 71b6e02..fb01bbf 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -11,7 +11,7 @@ restic = rec { port = 3571; - host = "tahina.r"; + host = "zaatar.r"; repository = "rest:http://${host}:${toString port}/"; }; diff --git a/systems/makanek/monitoring/default.nix b/systems/makanek/monitoring/default.nix index aa216c2..68d8013 100644 --- a/systems/makanek/monitoring/default.nix +++ b/systems/makanek/monitoring/default.nix @@ -317,12 +317,12 @@ in { ]; } { - job_name = "tahina"; + job_name = "zaatar"; static_configs = [ { targets = [ - "tahina.r:${toString config.services.prometheus.exporters.node.port}" - "tahina.r:${toString restic.port}" + "zaatar.r:${toString config.services.prometheus.exporters.node.port}" + "zaatar.r:${toString restic.port}" ]; } ]; @@ -332,7 +332,7 @@ in { scrape_interval = "60s"; metrics_path = "/api/prometheus"; scheme = "http"; - static_configs = [{targets = ["tahina.r:8123"];}]; + static_configs = [{targets = ["zaatar.r:8123"];}]; bearer_token_file = config.age.secrets.home-assistant-token.path; } {