home/common | add ssh config

This commit is contained in:
Don Harper 2025-06-06 10:50:35 -05:00
parent de25923718
commit 7838ace3ac
2 changed files with 29 additions and 0 deletions

28
home/common/ssh.nix Normal file
View 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";
};
};
};
};
}