2024-05-11 16:29:43 +01:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib.modules) mkMerge;
|
|
|
|
in {
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
matchBlocks = mkMerge [
|
|
|
|
(mkMerge (map (hostname: {
|
|
|
|
"${hostname}" = {
|
|
|
|
user = "root";
|
|
|
|
hostname = "${hostname}.servers.genderfucked.monster";
|
|
|
|
};
|
2024-09-03 19:22:10 +01:00
|
|
|
}) ["hetzner-arm" "hetzner-arm-decrypt" "raspberry-pi5" "raspberry-pi5-decrypt"]))
|
2024-05-11 16:29:43 +01:00
|
|
|
{
|
|
|
|
"blahaj" = {
|
|
|
|
user = "chaos";
|
|
|
|
hostname = "blahaj.sapphicco.de";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|