{ config, pkgs, ... }: { programs.ssh = { enable = true; enableDefaultConfig = false; matchBlocks = { "*" = { addKeysToAgent = "yes"; }; "github.com" = { hostname = "github.com"; user = "git"; identityFile = "~/.ssh/keys/github"; }; "aicloud" = { hostname = "aicloud"; user = "hb05nk@cs.aau.dk"; identityFile = "~/.ssh/keys/aicloud"; proxyJump = "pi"; }; "nas" = { hostname = "nas.hw.yanlincs.com"; user = "root"; identityFile = "~/.ssh/keys/nas"; }; "pi" = { hostname = "pi.hw.yanlincs.com"; user = "yanlin"; identityFile = "~/.ssh/keys/pi"; }; "personal-vps" = { hostname = "personal.vps.yanlincs.com"; user = "root"; identityFile = "~/.ssh/keys/hetzner"; }; }; }; }