nixos/home/ssh/personal.nix

13 lines
315 B
Nix
Raw Normal View History

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