2023-03-07 02:26:07 +02:00
|
|
|
{ config, lib, depot, pkgs, ... }:
|
2022-11-23 17:24:04 +02:00
|
|
|
|
|
|
|
{
|
2023-03-23 20:43:44 +02:00
|
|
|
age.secrets.hci-effects-secrets-private-void = {
|
|
|
|
file = ../secrets/hci-effects-secrets-private-void.age;
|
|
|
|
owner = "hci-private-void";
|
|
|
|
group = "hci-private-void";
|
|
|
|
};
|
2022-11-23 17:24:04 +02:00
|
|
|
services.hercules-ci-agents.private-void = {
|
2023-03-07 02:26:07 +02:00
|
|
|
package = lib.mkForce depot.packages.hercules-ci-agent;
|
2022-11-23 17:24:04 +02:00
|
|
|
settings = {
|
|
|
|
clusterJoinTokenPath = config.age.secrets.hci-token-private-void.path;
|
|
|
|
binaryCachesPath = config.age.secrets.hci-cache-config-private-void.path;
|
2023-03-23 20:43:44 +02:00
|
|
|
secretsJsonPath = config.age.secrets.hci-effects-secrets-private-void.path;
|
2022-11-23 17:24:04 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|