Unverified Commit 2cd2419b authored by emilylange's avatar emilylange
Browse files

nixos/gitea-actions-runner: set the `$HOME` environment variable

This fixes an issue where running the official `actions/checkout` action
from GitHub on a runner with label `:host`, would fail with incredibly
unhelpful error messages.

Turns out, this is due to `$HOME` not being set.
parent 45e438f5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -203,6 +203,8 @@ in
            TOKEN = "${instance.token}";
          } // optionalAttrs (wantsPodman) {
            DOCKER_HOST = "unix:///run/podman/podman.sock";
          } // {
            HOME = "/var/lib/gitea-runner/${name}";
          };
          path = with pkgs; [
            coreutils