testing ssh config

This commit is contained in:
2025-01-20 15:52:12 -05:00
parent 793d06683e
commit 7f3bb43d39
2 changed files with 11 additions and 2 deletions

View File

@@ -26,6 +26,15 @@ in
"ssh-keys".mountPoint = "${vars.storage_secrets}/services/github-runners/id_ed25519_github-runners";
};
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} = {
enable = true;
replace = true;