diff --git a/home/applications/ssh/default.nix b/home/applications/ssh/default.nix new file mode 100644 index 0000000..754892f --- /dev/null +++ b/home/applications/ssh/default.nix @@ -0,0 +1,11 @@ +{config, ...}: { + programs.ssh = { + enable = true; + matchBlocks = let + inherit (config.home) homeDirectory; + in { + "blacksteel".identityFile = "${homeDirectory}/.ssh/id_github_signing"; + "tyo0.ny4.dev".identityFile = "${homeDirectory}/.ssh/id_github_signing"; + }; + }; +} diff --git a/home/default.nix b/home/default.nix index be9b824..5597f50 100644 --- a/home/default.nix +++ b/home/default.nix @@ -42,6 +42,7 @@ ./applications/git ./applications/gpg ./applications/neovim + ./applications/ssh ./applications/starship ./applications/tealdeer ./applications/tmux