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 = {
|
||||
actions1 = {
|
||||
actions1 =
|
||||
let
|
||||
actions_dir = "/var/lib/actions1";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
tokenFile = config.sops.secrets.actions-token-1.path;
|
||||
name = "actions1.home.2rjus.net";
|
||||
@@ -36,6 +40,10 @@
|
||||
|
||||
container = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
||||
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