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; };
|
|
|
|
"legion vanguard xenia.me.uk" = 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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|