2023-01-14 19:58:07 +00:00
|
|
|
{config, ...}: {
|
2023-01-14 13:57:00 +00:00
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
matchBlocks = {
|
|
|
|
"build-nas" = {
|
|
|
|
hostname = "nas.int.chir.rs";
|
|
|
|
identitiesOnly = true;
|
2023-01-14 19:58:07 +00:00
|
|
|
identityFile = "${config.home.homeDirectory}/.ssh/builder_id_ed25519";
|
2023-01-14 13:57:00 +00:00
|
|
|
port = 22;
|
|
|
|
user = "remote-build";
|
|
|
|
};
|
|
|
|
"build-pc" = {
|
|
|
|
hostname = "nutty-noon.int.chir.rs";
|
|
|
|
identitiesOnly = true;
|
2023-01-14 19:58:07 +00:00
|
|
|
identityFile = "${config.home.homeDirectory}/.ssh/builder_id_ed25519";
|
2023-01-14 13:57:00 +00:00
|
|
|
port = 22;
|
|
|
|
user = "remote-build";
|
|
|
|
};
|
|
|
|
"build-aarch64" = {
|
|
|
|
hostname = "instance-20221213-1915.int.chir.rs";
|
|
|
|
identitiesOnly = true;
|
2023-01-29 08:39:16 +00:00
|
|
|
identityFile = "${config.home.homeDirectory}/.ssh/builder_id_ed25519";
|
2023-01-14 13:57:00 +00:00
|
|
|
port = 22;
|
|
|
|
user = "remote-build";
|
|
|
|
};
|
2023-06-06 18:27:51 +00:00
|
|
|
"backup" = {
|
|
|
|
hostname = "backup.int.chir.rs";
|
|
|
|
identitiesOnly = true;
|
|
|
|
identityFile = "${config.home.homeDirectory}/.ssh/builder_id_ed25519";
|
|
|
|
port = 22;
|
|
|
|
user = "backup";
|
|
|
|
};
|
2023-01-14 13:57:00 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|