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