depot/cluster/services/hercules-ci-multi-agent/orgs/nixpak.nix
2023-03-11 19:48:30 +01:00

11 lines
315 B
Nix

{ config, lib, depot, pkgs, ... }:
{
services.hercules-ci-agents.nixpak = {
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;
};
};
}