home/common | add ssh config
This commit is contained in:
parent
de25923718
commit
7838ace3ac
2 changed files with 29 additions and 0 deletions
28
home/common/ssh.nix
Normal file
28
home/common/ssh.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ ... }: {
|
||||
programs = {
|
||||
ssh = {
|
||||
enable = true;
|
||||
compression = true;
|
||||
hashKnownHosts = true;
|
||||
matchBlocks = {
|
||||
"git" = {
|
||||
port = 2020;
|
||||
identityFile = "/home/don/.ssh/git";
|
||||
};
|
||||
"github.com" = {
|
||||
identityFile = "/home/don/.ssh/git";
|
||||
};
|
||||
"gitlab.com" = {
|
||||
identityFile = "/home/don/.ssh/git";
|
||||
};
|
||||
"homeassistant.home.duckland.org" = {
|
||||
user = "root";
|
||||
};
|
||||
"dreamhost" = {
|
||||
user = "duck";
|
||||
hostname = "wise.dreamhost.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue