cluster/services/hercules-ci-multi-agent: use our patched hercules-ci-agent

This commit is contained in:
Max Headroom 2023-01-08 20:34:55 +01:00
parent 56a6cfe438
commit 90abb5792e
3 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,8 @@
{ config, inputs, pkgs, ... }:
{ config, lib, inputs, pkgs, ... }:
{
services.hercules-ci-agents.max = {
package = lib.mkForce inputs.self.packages.${pkgs.system}.hercules-ci-agent;
settings = {
clusterJoinTokenPath = config.age.secrets.hci-token-max.path;
binaryCachesPath = config.age.secrets.hci-cache-config-max.path;

View file

@ -1,7 +1,8 @@
{ config, inputs, pkgs, ... }:
{ config, lib, inputs, pkgs, ... }:
{
services.hercules-ci-agents.nixpak = {
package = lib.mkForce inputs.self.packages.${pkgs.system}.hercules-ci-agent;
settings = {
clusterJoinTokenPath = config.age.secrets.hci-token-nixpak.path;
binaryCachesPath = config.age.secrets.hci-cache-config-nixpak.path;

View file

@ -1,7 +1,8 @@
{ config, inputs, pkgs, ... }:
{ config, lib, inputs, pkgs, ... }:
{
services.hercules-ci-agents.private-void = {
package = lib.mkForce inputs.self.packages.${pkgs.system}.hercules-ci-agent;
settings = {
clusterJoinTokenPath = config.age.secrets.hci-token-private-void.path;
binaryCachesPath = config.age.secrets.hci-cache-config-private-void.path;