{ ... }: let # onePassPath = "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"; onePassPath = "~/.1password/agent.sock"; in { programs.ssh = { enable = true; extraConfig = '' Host * IdentityAgent ${onePassPath} ''; }; }