35 lines
905 B
Nix
35 lines
905 B
Nix
{lib, ...}: {
|
|
programs.ssh.enable = true;
|
|
programs.ssh.matchBlocks =
|
|
lib.mkMerge
|
|
((lib.forEach ["hetzner-vm" "vault" "vault-decrypt"] (hostname: {
|
|
"${hostname}" = {
|
|
user = "root";
|
|
hostname = "${hostname}.servers.genderfucked.monster";
|
|
};
|
|
}))
|
|
++ [
|
|
{
|
|
"container-storage" = {
|
|
user = "root";
|
|
hostname = "192.168.100.11";
|
|
proxyJump = "hetzner-vm";
|
|
};
|
|
"container-social" = {
|
|
user = "root";
|
|
hostname = "192.168.100.12";
|
|
proxyJump = "hetzner-vm";
|
|
};
|
|
"container-music" = {
|
|
user = "root";
|
|
hostname = "192.168.100.13";
|
|
proxyJump = "hetzner-vm";
|
|
};
|
|
"blahaj" = {
|
|
user = "chaos";
|
|
hostname = "blahaj.sapphicco.de";
|
|
};
|
|
}
|
|
]);
|
|
}
|