nixos/home/ssh/personal.nix

13 lines
305 B
Nix

{ lib, ... }:
{
imports = [ ./common.nix ];
programs.ssh.matchBlocks = {
"legion" = { port = 30; };
"vanguard" = { hostname = "192.168.1.166"; port = 2222; };
"legion vanguard" = lib.hm.dag.entryAfter [ "legion" "vanguard" ] {
user = "root";
forwardAgent = true;
};
};
}