12 lines
309 B
Nix
12 lines
309 B
Nix
{lib, ...}: {
|
|
programs.ssh.enable = true;
|
|
programs.ssh.matchBlocks =
|
|
lib.mkMerge
|
|
(lib.forEach ["hetzner-vm" "storage" "vault" "vault-decrypt" "buildbox"] (hostname: {
|
|
"${hostname}" = {
|
|
user = "root";
|
|
hostname = "${hostname}.servers.genderfucked.monster";
|
|
};
|
|
}));
|
|
}
|