33 lines
569 B
Nix
33 lines
569 B
Nix
{ ... }:
|
|
|
|
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
|
|
enableDefaultConfig = false;
|
|
|
|
matchBlocks = {
|
|
"github.com" = {
|
|
hostname = "github.com";
|
|
user = "git";
|
|
port = 22;
|
|
identityFile = "~/.ssh/id_github";
|
|
};
|
|
|
|
"h2p" = {
|
|
hostname = "h2p.crc.pitt.edu";
|
|
user = "amm503";
|
|
identityFile = "~/.ssh/id_h2p";
|
|
};
|
|
|
|
"scienting-git" = {
|
|
hostname = "git.scient.ing";
|
|
port = 22;
|
|
user = "git";
|
|
identityFile = "~/.ssh/id_scienting_gitea";
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|