From c6586db91ef3b2bd2a289512bca10828514f1d9c Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sat, 20 Dec 2025 22:26:30 -0500 Subject: [PATCH] testing sshless nix-cache copy --- .github/workflows/build_systems.yml | 2 +- systems/jeeves/runners/nix_builder.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_systems.yml b/.github/workflows/build_systems.yml index 4a14dd1..b394bf0 100644 --- a/.github/workflows/build_systems.yml +++ b/.github/workflows/build_systems.yml @@ -25,4 +25,4 @@ jobs: - name: Build default package run: "nixos-rebuild build --flake ./#${{ matrix.system }}" - name: copy to nix-cache - run: nix copy --to ssh://jeeves .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel + run: nix copy --to file:///host-nix/store .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel diff --git a/systems/jeeves/runners/nix_builder.nix b/systems/jeeves/runners/nix_builder.nix index 8f27709..428b6e8 100644 --- a/systems/jeeves/runners/nix_builder.nix +++ b/systems/jeeves/runners/nix_builder.nix @@ -33,6 +33,10 @@ in mountPoint = "/zfs/media/github-runners/${name}"; isReadOnly = false; }; + "/host-nix" = { + mountPoint = "/nix"; + isReadOnly = false; + }; "/secrets".mountPoint = "${vars.secrets}/services/github-runners/${name}"; "ssh-keys".mountPoint = "${vars.secrets}/services/github-runners/id_ed25519_github-runners"; };