From ef25d69c4d273765afd2ef86783e42bc98ca4b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 30 Dec 2022 21:13:56 +0100 Subject: nixos: move home assistant around --- nixos/modules/monitoring.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/monitoring.nix') diff --git a/nixos/modules/monitoring.nix b/nixos/modules/monitoring.nix index 247253e..1f011dd 100644 --- a/nixos/modules/monitoring.nix +++ b/nixos/modules/monitoring.nix @@ -29,7 +29,7 @@ in { }; config = mkMerge [ - { cynerd.monitoring.host = "ridcully"; } + { cynerd.monitoring.host = "errol"; } (mkIf cnf.enable { # Telegraf configuration services.telegraf = { @@ -38,7 +38,7 @@ in { extraConfig = { agent = {}; outputs.influxdb_v2 = { - urls = ["http://${cnf.host}:8086"]; + urls = ["http://errol:8086"]; token = "$INFLUX_TOKEN"; organization = "personal"; bucket = "monitoring"; -- cgit v1.2.3