nix-config/home/essentials/ssh.nix

37 lines
838 B
Nix

{
programs.ssh = {
enable = true;
matchBlocks = {
"1bvps" = {
host = "178.254.43.196";
hostname = "178.254.43.196";
identityFile = [ "/home/rhea/.ssh/id_1bvps" ];
};
"gcd-etwas" = {
host = "git.catgirl.dog";
hostname = "git.catgirl.dog";
identityFile = [ "/home/rhea/.ssh/id_gcd_etwas" ];
user = "git";
port = 222;
};
"gh-etwas" = {
host = "github.com";
hostname = "github.com";
identityFile = [ "/home/rhea/.ssh/id_gh_etwas" ];
user = "git";
port = 22;
};
"glrwth-tuda" = {
host = "git.rwth-aachen.de";
hostname = "git.rwth-aachen.de";
identityFile = [ "/home/rhea/.ssh/id_glrwth_tuda" ];
user = "git";
port = 22;
};
};
};
}