49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
compression = true;
|
|
matchBlocks = {
|
|
"gitlab.com" = {
|
|
hostname = "gitlab.com";
|
|
identityFile = "~/.ssh/gitlab";
|
|
identitiesOnly = true;
|
|
};
|
|
"github.com" = {
|
|
hostname = "github.com";
|
|
identityFile = "~/.ssh/github";
|
|
identitiesOnly = true;
|
|
};
|
|
"bitbucket.com" = {
|
|
hostname = "bitbucket.com";
|
|
identityFile = "~/.ssh/bitbucket";
|
|
identitiesOnly = true;
|
|
};
|
|
"aur.archlinux.org" = {
|
|
hostname = "aur.archlinux.org";
|
|
identityFile = "~/.ssh/aur";
|
|
identitiesOnly = true;
|
|
};
|
|
"heroku.com" = {
|
|
hostname = "heroku.com";
|
|
identityFile = "~/.ssh/heroku";
|
|
identitiesOnly = true;
|
|
};
|
|
"ngrok.io" = {
|
|
hostname = "ngrok.io";
|
|
identityFile = "~/.ssh/local";
|
|
identitiesOnly = true;
|
|
};
|
|
"*.local 172.27.108.*" = {
|
|
identityFile = "~/.ssh/local";
|
|
identitiesOnly = true;
|
|
};
|
|
"*.moon-cloud.eu moon-cloud.eu" = {
|
|
identityFile = "~/.ssh/moon-cloud";
|
|
identitiesOnly = true;
|
|
};
|
|
"*" = {
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
};
|
|
};
|
|
};
|
|
}
|