From 60158bfc22a50d90919ee647b3a36e4f5f255428 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 7 Apr 2022 18:36:38 -0300 Subject: [PATCH] nixos/shellhub-agent: use new configuration variables The old variables still work but will eventually stop to be supported so move to the new ones. Signed-off-by: Otavio Salvador --- nixos/modules/services/networking/shellhub-agent.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/networking/shellhub-agent.nix b/nixos/modules/services/networking/shellhub-agent.nix index 7a92636b5e37..d4344272988a 100644 --- a/nixos/modules/services/networking/shellhub-agent.nix +++ b/nixos/modules/services/networking/shellhub-agent.nix @@ -68,9 +68,9 @@ in "time-sync.target" ]; - environment.SERVER_ADDRESS = cfg.server; - environment.PRIVATE_KEY = cfg.privateKey; - environment.TENANT_ID = cfg.tenantId; + environment.SHELLHUB_SERVER_ADDRESS = cfg.server; + environment.SHELLHUB_PRIVATE_KEY = cfg.privateKey; + environment.SHELLHUB_TENANT_ID = cfg.tenantId; serviceConfig = { # The service starts sessions for different users.