forked from pub-solar/os
Fix wording
This commit is contained in:
parent
289b58198c
commit
5f6988291c
|
@ -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