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

12 lines
315 B
Nix
Raw Normal View History

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