os/hosts/chonk/drone.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
493 B
Nix
Raw Normal View History

2023-02-25 13:45:21 +00:00
{
config,
pkgs,
2023-11-11 00:06:36 +00:00
flake,
2023-02-25 13:45:21 +00:00
...
}: {
age.secrets.drone_exec_runner_config = {
2023-11-11 00:06:36 +00:00
file = "${flake.self}/secrets/chonk_drone_exec_runner_config.age";
2023-02-25 13:45:21 +00:00
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";
};
}