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
|
2022-12-20 12:28:00 +00:00
|
|
|
((lib.forEach ["hetzner-vm" "vault" "vault-decrypt" "buildbox"] (hostname: {
|
|
|
|
"${hostname}" = {
|
|
|
|
user = "root";
|
|
|
|
hostname = "${hostname}.servers.genderfucked.monster";
|
|
|
|
};
|
|
|
|
}))
|
|
|
|
++ [
|
|
|
|
{
|
|
|
|
"storage" = {
|
|
|
|
user = "root";
|
|
|
|
hostname = "192.168.100.11";
|
|
|
|
proxyJump = "hetzner-vm";
|
|
|
|
};
|
|
|
|
"blahaj" = {
|
|
|
|
user = "chaos";
|
|
|
|
hostname = "blahaj.sapphicco.de";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
]);
|
2021-12-29 12:26:15 +00:00
|
|
|
}
|