testing nix socket

This commit is contained in:
2025-12-20 22:47:19 -05:00
parent c6586db91e
commit 3a17c5514d
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

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