aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-08-26 13:02:25 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-08-26 13:03:27 -0500
commit6161c1f5308b6035b13304bd714b106031b2c9d2 (patch)
treee4bb247a3f92d25c9e1c200f561d4a20fd8cbfab /modules
parent53c787c651df22bf0d8c5e2c7117143f8a0e2359 (diff)
assume that all ssh connections to `git` should use the git ssh key
Diffstat (limited to 'modules')
-rw-r--r--modules/terminal/nixos/github_ssh.nix13
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