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 <otavio@ossystems.com.br>
main
Otavio Salvador 2 years ago
parent a62471fc65
commit 60158bfc22
  1. 6
      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.

Loading…
Cancel
Save