From d355128a6e444b2c6c64652150e76d8aeb6a2af0 Mon Sep 17 00:00:00 2001 From: Igor Ramazanov Date: Wed, 12 Mar 2025 11:31:50 +0000 Subject: [PATCH] fix: nix: fix `agent` env vars configuration --- nix/module.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index 41eb12f..acd6475 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -72,11 +72,11 @@ in { requires = ["headplane.service"]; environment = { - HP_AGENT_HOSTNAME = cfg.agent.hostname; - HP_AGENT_TS_SERVER = cfg.agent.tsServer; - HP_AGENT_TS_AUTHKEY = cfg.agent.tsAuthkey; - HP_AGENT_HP_SERVER = cfg.agent.hpServer; - HP_AGENT_HP_AUTHKEY = cfg.agent.hpAuthkey; + HEADPLANE_AGENT_HOSTNAME = cfg.agent.hostname; + HEADPLANE_AGENT_TS_SERVER = cfg.agent.tsServer; + HEADPLANE_AGENT_TS_AUTHKEY = cfg.agent.tsAuthkey; + HEADPLANE_AGENT_HP_SERVER = cfg.agent.hpServer; + HEADPLANE_AGENT_HP_AUTHKEY = cfg.agent.hpAuthkey; }; serviceConfig = {