Fix wording
This commit is contained in:
parent
f438698fb8
commit
41af850466
|
@ -43,7 +43,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.pub-solar.docker-ci-runner = {
|
options.pub-solar.docker-ci-runner = {
|
||||||
enable = lib.mkEnableOption "Enables a systemd service that runs drone-ci-runner";
|
enable = lib.mkEnableOption "Enables a docker container running a drone exec runner as unprivileged user.";
|
||||||
|
|
||||||
enableKvm = lib.mkOption {
|
enableKvm = lib.mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -88,7 +88,7 @@ in
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
entrypoint = "bash";
|
entrypoint = "bash";
|
||||||
cmd = [ "/bootstrap.sh" ];
|
cmd = [ "/bootstrap.sh" ];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${cfg.runnerVarsFile}:/run/vars"
|
"${cfg.runnerVarsFile}:/run/vars"
|
||||||
"${cfg.nixCacheLocation}:/nix"
|
"${cfg.nixCacheLocation}:/nix"
|
||||||
|
@ -96,7 +96,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = cfg.runnerEnvironment;
|
environment = cfg.runnerEnvironment;
|
||||||
|
|
||||||
extraOptions = lib.mkIf cfg.enableKvm [ "--device=/dev/kvm" ];
|
extraOptions = lib.mkIf cfg.enableKvm [ "--device=/dev/kvm" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue