Fix wording

This commit is contained in:
Hendrik Sokolowski 2022-10-26 22:04:48 +02:00
parent 289b58198c
commit 5f6988291c
Signed by: hensoko
GPG key ID: 5C36A01B80BCCC59

View file

@ -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" ];
}; };
}; };