home: add ssh

This commit is contained in:
Guanran Wang 2024-07-25 00:52:39 +08:00
parent dc166488f0
commit 288677bdbd
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 12 additions and 0 deletions

View file

@ -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";
};
};
}

View file

@ -42,6 +42,7 @@
./applications/git
./applications/gpg
./applications/neovim
./applications/ssh
./applications/starship
./applications/tealdeer
./applications/tmux