{ config, ... }: { programs.ssh = { extraConfig = '' IdentityFile ${ config.sops.secrets."${config.hostcfg.hostname}_ssh_priv".path } ''; }; }