2023-05-15 11:12:17 +01:00
|
|
|
{ lib, ... }:
|
2023-05-05 13:29:39 +01:00
|
|
|
{
|
|
|
|
imports = [ ./common.nix ];
|
|
|
|
programs.ssh.matchBlocks = {
|
2023-05-15 11:12:17 +01:00
|
|
|
"legion" = { port = 30; };
|
|
|
|
"vanguard" = { hostname = "192.168.1.166"; port = 22; };
|
2023-05-16 11:04:48 +01:00
|
|
|
"legion vanguard" = lib.hm.dag.entryAfter [ "legion" "vanguard" ] {
|
2023-05-09 17:56:18 +01:00
|
|
|
user = "root";
|
2023-05-05 13:29:39 +01:00
|
|
|
forwardAgent = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|