nix-cache01: make some changes to runner
Some checks failed
Run nix flake check / flake-check (push) Failing after 12s
Some checks failed
Run nix flake check / flake-check (push) Failing after 12s
This commit is contained in:
@@ -11,7 +11,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.gitea-actions-runner.instances = {
|
services.gitea-actions-runner.instances = {
|
||||||
actions1 = {
|
actions1 =
|
||||||
|
let
|
||||||
|
actions_dir = "/var/lib/actions1";
|
||||||
|
in
|
||||||
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
tokenFile = config.sops.secrets.actions-token-1.path;
|
tokenFile = config.sops.secrets.actions-token-1.path;
|
||||||
name = "actions1.home.2rjus.net";
|
name = "actions1.home.2rjus.net";
|
||||||
@@ -36,6 +40,10 @@
|
|||||||
|
|
||||||
container = {
|
container = {
|
||||||
privileged = false;
|
privileged = false;
|
||||||
|
workdir_parent = "${actions_dir}/container_workspace";
|
||||||
|
};
|
||||||
|
host = {
|
||||||
|
workdir_parent = "${actions_dir}/host_workspace";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -50,5 +58,12 @@
|
|||||||
url = "https://git.t-juice.club";
|
url = "https://git.t-juice.club";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.services.gitea-runner-actions1.environment =
|
||||||
|
let
|
||||||
|
actions_dir = "/var/lib/actions1";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
XDG_CONFIG_HOME = actions_dir;
|
||||||
|
XDG_CACHE_COME = "${actions_dir}/.cache";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user