{ ... }: { programs.ssh = { enable = true; extraConfig = { identityFile = "%r@%h"; }; # Equivalent of ~/.ssh/config matchBlocks = { "tty.marleycentre" = { hostname = "admin.punkfairie.net"; }; "tty.marleynet" = { hostname = "10.69.69.2"; port = 222; }; }; }; }