NixOS-Configs/home/common/ssh.nix
2025-06-06 10:50:35 -05:00

28 lines
609 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";
};
};
};
};
}