2022-12-04 13:45:43 +00:00
|
|
|
{lib, ...}: {
|
2021-12-29 12:26:15 +00:00
|
|
|
programs.ssh.enable = true;
|
2022-12-04 13:45:43 +00:00
|
|
|
programs.ssh.matchBlocks =
|
|
|
|
lib.mkMerge
|
|
|
|
(lib.forEach ["hetzner-vm" "storage" "vault" "buildbox"] (hostname: {
|
2022-11-29 09:27:09 +00:00
|
|
|
"${hostname}" = {
|
|
|
|
user = "root";
|
|
|
|
hostname = "${hostname}.servers.genderfucked.monster";
|
|
|
|
};
|
2022-12-04 13:45:43 +00:00
|
|
|
}));
|
2021-12-29 12:26:15 +00:00
|
|
|
}
|