NixOS-Configs/home/common/ssh.nix
2025-06-15 16:19:29 -05:00

22 lines
555 B
Nix

{ ... }: {
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";
};
};
};
};
}