update ssh
This commit is contained in:
parent
d2a6aceff3
commit
b777814ff4
5 changed files with 31 additions and 18 deletions
30
home-manager/sajenim/features/cli/ssh.nix
Normal file
30
home-manager/sajenim/features/cli/ssh.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{...}: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"viridian" = {
|
||||
hostname = "viridian.home.arpa";
|
||||
user = "sajenim";
|
||||
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
||||
};
|
||||
|
||||
"lavender" = {
|
||||
hostname = "lavender.home.arpa";
|
||||
user = "sajenim";
|
||||
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
||||
};
|
||||
|
||||
"sajenim-github" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "/home/sajenim/.ssh/sajenim-github_sk";
|
||||
};
|
||||
|
||||
"jasmine-forgejo" = {
|
||||
hostname = "git.sajenim.dev";
|
||||
user = "forgejo";
|
||||
identityFile = "/home/sajenim/.ssh/jasmine-forgejo_sk";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue