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"; };