diff --git a/hosts/elara/users/nikara/configs/console/ssh/default.nix b/hosts/elara/users/nikara/configs/console/ssh/default.nix index 98b1f84..ff24a42 100644 --- a/hosts/elara/users/nikara/configs/console/ssh/default.nix +++ b/hosts/elara/users/nikara/configs/console/ssh/default.nix @@ -93,16 +93,19 @@ in "github.com" = { hostname = "github.com"; user = "git"; - identityFile = [ - "${home}/.ssh/ssh_sas_ed25519_key" - "${home}/.ssh/ssh_personal_ed25519_key" - ]; + identityFile = [ "${home}/.ssh/ssh_personal_ed25519_key" ]; }; "gitlab.com" = { hostname = "gitlab.com"; user = "git"; - identityFile = "${home}/.ssh/ssh_sas_ed25519_key"; + identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; + }; + + "github.sas.com" = { + hostname = "github.com"; + user = "git"; + identityFile = [ "${home}/.ssh/ssh_sas_ed25519_key" ]; }; "cldlgn.fyi.sas.com" = { @@ -146,6 +149,16 @@ in ]; }; + git.extraConfig.url = { + "git@github.sas.com:sas-institute-rnd-product".insteadOf = + "git@github.com:sas-institute-rnd-product"; + "git@github.sas.com:sas-institute-rnd-internal".insteadOf = + "git@github.com:sas-institute-rnd-internal"; + "git@github.sas.com:sas-institute-rnd-pipeline-test".insteadOf = + "git@github.com:sas-institute-rnd-pipeline-test"; + "git@github.sas.com:Nick-Karaolidis_sasinst".insteadOf = "git@github.com:Nick-Karaolidis_sasinst"; + }; + clipbook.bookmarks = { "Personal SSH Key Passphrase".source = hmConfig.sops.secrets."ssh/personal/pass".path; "SAS SSH ED25519 Key Passphrase".source = hmConfig.sops.secrets."ssh/sas/ed25519/pass".path; diff --git a/hosts/himalia/users/nick/configs/console/ssh/default.nix b/hosts/himalia/users/nick/configs/console/ssh/default.nix index ab3261e..68840e5 100644 --- a/hosts/himalia/users/nick/configs/console/ssh/default.nix +++ b/hosts/himalia/users/nick/configs/console/ssh/default.nix @@ -55,7 +55,7 @@ in "gitlab.com" = { hostname = "gitlab.com"; user = "git"; - identityFile = "${home}/.ssh/ssh_sas_ed25519_key"; + identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; }; };