os/hosts/chonk/drone.nix
2023-11-11 01:06:36 +01:00

25 lines
493 B
Nix

{
config,
pkgs,
flake,
...
}: {
age.secrets.drone_exec_runner_config = {
file = "${flake.self}/secrets/chonk_drone_exec_runner_config.age";
owner = "999";
};
pub-solar.docker-ci-runner = {
enable = true;
enableKvm = true;
nixCacheLocation = "/srv/drone-nix-cache/nix";
runnerEnvironment = {
DRONE_RUNNER_CAPACITY = "10";
DRONE_RUNNER_LABELS = "hosttype:baremetal";
};
runnerVarsFile = "/run/agenix/drone_exec_runner_config";
};
}