depot/cluster/services/hercules-ci-multi-agent/orgs/max.nix

13 lines
338 B
Nix
Raw Normal View History

2023-03-07 02:26:07 +02:00
{ config, lib, depot, pkgs, ... }:
{
services.hercules-ci-agents.max = {
enable = true;
package = depot.inputs.hercules-ci-agent.packages.hercules-ci-agent;
settings = {
clusterJoinTokenPath = config.age.secrets.hci-token-max.path;
binaryCachesPath = config.age.secrets.hci-cache-config-max.path;
};
};
}