Moved some files

This commit is contained in:
FredzyW 2024-06-17 17:53:23 +02:00
parent 2f94e9b5ff
commit 8a26dfc281
33 changed files with 25 additions and 42 deletions

55
shared/ssh.nix Normal file
View file

@ -0,0 +1,55 @@
{ pkgs, lib, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
"git.wastring.com" = {
hostname = "git.wastring.com";
port = 55503;
user = "git";
identityFile = "/home/fw/.ssh/id_rsa";
};
"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";
};
"dm2" = {
hostname = "docker-master2";
port = 22;
user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key";
};
"ha1" = {
hostname = "hosted-agent-1";
port = 22;
user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key";
};
"ba6" = {
hostname = "buildagent6";
port = 22;
user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key";
};
"fs1" = {
hostname = "192.168.0.120";
port = 22;
user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key";
};
"backups" = {
hostname = "192.168.0.120";
port = 22;
user = "github";
identityFile = "/home/fw/.ssh/github-ssh-key";
};
};
};
}