Fix wording

This commit is contained in:
Hendrik Sokolowski 2022-10-26 22:04:48 +02:00
parent f438698fb8
commit 41af850466
Signed by untrusted user: hensoko
GPG key ID: 5C36A01B80BCCC59

View file

@ -43,7 +43,7 @@ let
in
{
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 {
description = ''
@ -88,7 +88,7 @@ in
autoStart = true;
entrypoint = "bash";
cmd = [ "/bootstrap.sh" ];
volumes = [
"${cfg.runnerVarsFile}:/run/vars"
"${cfg.nixCacheLocation}:/nix"
@ -96,7 +96,7 @@ in
];
environment = cfg.runnerEnvironment;
extraOptions = lib.mkIf cfg.enableKvm [ "--device=/dev/kvm" ];
};
};