diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-08-26 13:02:25 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-08-26 13:03:27 -0500 |
| commit | 6161c1f5308b6035b13304bd714b106031b2c9d2 (patch) | |
| tree | e4bb247a3f92d25c9e1c200f561d4a20fd8cbfab | |
| parent | 53c787c651df22bf0d8c5e2c7117143f8a0e2359 (diff) | |
assume that all ssh connections to `git` should use the git ssh key
| -rw-r--r-- | modules/terminal/nixos/github_ssh.nix | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/modules/terminal/nixos/github_ssh.nix b/modules/terminal/nixos/github_ssh.nix index 4aa5ed5..778ddbb 100644 --- a/modules/terminal/nixos/github_ssh.nix +++ b/modules/terminal/nixos/github_ssh.nix @@ -19,18 +19,7 @@ in startAgent = true; extraConfig = '' - Host github.com - User git - IdentityFile ${config.collinux.secrets."github-ssh-key".path} - IdentitiesOnly yes - AddKeysToAgent yes - - Match host williamsfam.us.com user git - IdentityFile ${config.collinux.secrets."github-ssh-key".path} - IdentitiesOnly yes - AddKeysToAgent yes - - Match host tangled.org user git + Match user git IdentityFile ${config.collinux.secrets."github-ssh-key".path} IdentitiesOnly yes AddKeysToAgent yes |
