diff --git a/users/home-manager/foo-dogsquared/config/ssh/self-hosted b/users/home-manager/foo-dogsquared/config/ssh/self-hosted new file mode 100644 index 00000000..a9a06a77 --- /dev/null +++ b/users/home-manager/foo-dogsquared/config/ssh/self-hosted @@ -0,0 +1,14 @@ +Host plover.foodogsquared.one + IdentityFile ~/.ssh/work + User plover + +Host woodcock.foodogsquared.one + IdentityFile ~/.ssh/woodcock.foodogsquared.one + User woodcock + +Host quail.foodogsquared.one + IdentityFile ~/.ssh/quail.foodogsquared.one + User quail + +Host code.foodogsquared.one + IdentityFile ~/.ssh/code.foodogsquared.one-foodogsquared diff --git a/users/home-manager/foo-dogsquared/modules/keys.nix b/users/home-manager/foo-dogsquared/modules/keys.nix index 81d15196..560f67b4 100644 --- a/users/home-manager/foo-dogsquared/modules/keys.nix +++ b/users/home-manager/foo-dogsquared/modules/keys.nix @@ -14,6 +14,14 @@ ''; }; + # Make all of the initial SSH identities configuration here. It should assume + # I have other SSH identities configuration that are not committed here for + # whatever reason. + home.file.".ssh/config.d" = { + source = ../config/ssh; + recursive = true; + }; + # My GPG client. It has to make sure the keys are not generated and has to be # backed up somewhere. #