mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
testing ssh config
This commit is contained in:
4
.github/workflows/build_systems.yml
vendored
4
.github/workflows/build_systems.yml
vendored
@@ -21,5 +21,5 @@ jobs:
|
|||||||
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
|
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
|
||||||
- name: copy to nix-cache
|
- name: copy to nix-cache
|
||||||
env:
|
env:
|
||||||
NIX_SSHOPTS: "-p 629 -i /zfs/storage/secrets/services/github-runners/id_ed25519_github-runners -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -vv"
|
NIX_SSHOPTS: "-vv"
|
||||||
run: nix copy --to ssh://192.168.95.14 .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|
run: nix copy --to ssh://jeeves .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|
||||||
|
|||||||
@@ -26,6 +26,15 @@ in
|
|||||||
"ssh-keys".mountPoint = "${vars.storage_secrets}/services/github-runners/id_ed25519_github-runners";
|
"ssh-keys".mountPoint = "${vars.storage_secrets}/services/github-runners/id_ed25519_github-runners";
|
||||||
};
|
};
|
||||||
config = { config, pkgs, lib, ... }: {
|
config = { config, pkgs, lib, ... }: {
|
||||||
|
programs.ssh.extraConfig = ''
|
||||||
|
Host jeeves
|
||||||
|
Port 629
|
||||||
|
User github-runners
|
||||||
|
HostName 192.168.95.14
|
||||||
|
IdentityFile ${vars.storage_secrets}/services/github-runners/${name}
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
UserKnownHostsFile /dev/null
|
||||||
|
'';
|
||||||
services.github-runners.${name} = {
|
services.github-runners.${name} = {
|
||||||
enable = true;
|
enable = true;
|
||||||
replace = true;
|
replace = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user