nix/moduler/common/ssh.nix
2024-05-24 15:20:39 +02:00

25 lines
536 B
Nix

{ pkgs, lib, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
"git.wastring.com" = {
hostname = "git.wastring.com";
port = 55503;
user = "git";
identityFile = "/home/fw/.ssh/gitea";
};
"wastring.com" = {
hostname = "wastring.com";
port = 55502;
user = "fw";
identityFile = "/home/fw/.ssh/id_rsa";
};
"lth" = {
hostname = "login.student.lth.se";
port = 22;
user = "fr7658wa-s";
};
};
};
}