added copy step to build_systems action

This commit is contained in:
2025-01-20 14:03:26 -05:00
parent d7fd0796ea
commit c39f8c4a7e
4 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
name: build_jeeves
name: build_systems
on:
workflow_dispatch:
pull_request:
@@ -19,3 +19,7 @@ jobs:
- uses: actions/checkout@v4
- name: Build default package
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
- name: copy to nix-cache
env:
NIX_SSHOPTS: "-p 629 -i /zfs/storage/secrets/services/github-runners/id_ed25519_github-runners"
run: nix copy --to ssh://192.168.98.14 .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel

View File

@@ -220,6 +220,7 @@
"sponsorblock",
"sqltools",
"ssdp",
"SSHOPTS",
"stdenv",
"subresource",
"substituters",

View File

@@ -23,6 +23,7 @@ in
isReadOnly = false;
};
"/secrets".mountPoint = "${vars.storage_secrets}/services/github-runners/${name}";
"ssh-keys".mountPoint = "${vars.storage_secrets}/services/github-runners/id_ed25519_github-runners";
};
config = { config, pkgs, lib, ... }: {
services.github-runners.${name} = {

View File

@@ -8,6 +8,9 @@
isSystemUser = true;
group = "github-runners";
uid = 601;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/S8i+BNX/12JNKg+5EKGX7Aqimt5KM+ve3wt/SyWuO github-runners" # cspell:disable-line
];
};
groups.github-runners.gid = 601;
};