forked from pub-solar/os
22 lines
482 B
Nix
22 lines
482 B
Nix
|
{ self, config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
age.secrets.drone_exec_runner_config = {
|
||
|
file = "${self}/secrets/cube_drone_exec_runner_config.age";
|
||
|
owner = "999";
|
||
|
};
|
||
|
|
||
|
pub-solar.ci-runner = {
|
||
|
enable = true;
|
||
|
enableKvm = true;
|
||
|
nixCacheLocation = "/mnt/internal/ci-cache-nix-store/nix";
|
||
|
|
||
|
runnerEnvironment = {
|
||
|
DRONE_RUNNER_CAPACITY = "1";
|
||
|
DRONE_RUNNER_LABELS = "hosttype:baremetal";
|
||
|
};
|
||
|
|
||
|
runnerVarsFile = "/run/agenix/drone_exec_runner_config";
|
||
|
};
|
||
|
}
|