From 4f93d3d4168696dd0063cce7fd1a650903658fc2 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 19 Jul 2024 23:27:05 +0200 Subject: [PATCH] build cache --- .forgejo/workflows/build.yaml | 2 +- machines/orbi/service-forgejo-runner.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 6ba9a1b..dfec34d 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -6,7 +6,7 @@ jobs: - uses: actions/checkout@v4 - run: env - run: | - export NIX_CONFIG="extra-access-tokens = git.ingolf-wagner.de=${{ secrets.ACCESS_TOKEN }}" + export NIX_SSHOPTS="-i $PWD/id_rsa" nix flake update - run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel - run: nix build .#nixosConfigurations.cream.config.system.build.toplevel diff --git a/machines/orbi/service-forgejo-runner.nix b/machines/orbi/service-forgejo-runner.nix index 2e4eabc..87cca39 100644 --- a/machines/orbi/service-forgejo-runner.nix +++ b/machines/orbi/service-forgejo-runner.nix @@ -48,6 +48,7 @@ in pkgs.nodejs pkgs.wget pkgs.nix + pkgs.openssh ]; url = "https://git.ingolf-wagner.de"; tokenFile = config.clanCore.facts.services.gitea-runner.secret."gitea-runner.token".path;