mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added copy step to build_systems action
This commit is contained in:
6
.github/workflows/build_systems.yml
vendored
6
.github/workflows/build_systems.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: build_jeeves
|
name: build_systems
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -19,3 +19,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build default package
|
- name: Build default package
|
||||||
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
|
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
|
||||||
|
|||||||
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -220,6 +220,7 @@
|
|||||||
"sponsorblock",
|
"sponsorblock",
|
||||||
"sqltools",
|
"sqltools",
|
||||||
"ssdp",
|
"ssdp",
|
||||||
|
"SSHOPTS",
|
||||||
"stdenv",
|
"stdenv",
|
||||||
"subresource",
|
"subresource",
|
||||||
"substituters",
|
"substituters",
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ in
|
|||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
"/secrets".mountPoint = "${vars.storage_secrets}/services/github-runners/${name}";
|
"/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, ... }: {
|
config = { config, pkgs, lib, ... }: {
|
||||||
services.github-runners.${name} = {
|
services.github-runners.${name} = {
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "github-runners";
|
group = "github-runners";
|
||||||
uid = 601;
|
uid = 601;
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/S8i+BNX/12JNKg+5EKGX7Aqimt5KM+ve3wt/SyWuO github-runners" # cspell:disable-line
|
||||||
|
];
|
||||||
};
|
};
|
||||||
groups.github-runners.gid = 601;
|
groups.github-runners.gid = 601;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user