Updates ssh and work config
This commit is contained in:
parent
48ea1e8876
commit
c98b5706ca
4 changed files with 38 additions and 3 deletions
26
home/modules/ssh/default.nix
Normal file
26
home/modules/ssh/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
addKeysToAgent = "yes";
|
||||
matchBlocks = {
|
||||
"dnsc-server" = {
|
||||
hostname = "100.103.199.4";
|
||||
user = "dennis";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-server-i" = {
|
||||
hostname = "192.168.178.69";
|
||||
user = "dennis";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-vps-sm" = {
|
||||
hostname = "100.65.82.77";
|
||||
user = "dennis";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue