From 3a17c5514d17b19ef75392326af404b96c1329df Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sat, 20 Dec 2025 22:47:19 -0500 Subject: [PATCH] testing nix socket --- .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 b394bf0..2928071 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 file:///host-nix/store .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel + run: nix copy --accept-flake-config --to unix:///host-nix/var/nix/daemon-socket/socket .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel diff --git a/systems/jeeves/runners/nix_builder.nix b/systems/jeeves/runners/nix_builder.nix index 428b6e8..e89a130 100644 --- a/systems/jeeves/runners/nix_builder.nix +++ b/systems/jeeves/runners/nix_builder.nix @@ -37,6 +37,10 @@ in mountPoint = "/nix"; isReadOnly = false; }; + "/host-nix/var/nix/daemon-socket" = { + mountPoint = "/nix/var/nix/daemon-socket"; + isReadOnly = false; + }; "/secrets".mountPoint = "${vars.secrets}/services/github-runners/${name}"; "ssh-keys".mountPoint = "${vars.secrets}/services/github-runners/id_ed25519_github-runners"; };