Yep, sorry I only mentioned ssh-add -l but didn’t mention ssh-add.
By the way, I’ve found much simpler way to cache ssh key passwords for my workflow:
# removed all gpg-agent related configuration
programs.keychain = {
enable = true;
keys = [ "id_ed25519" ];
};
Each time I need to add new key, I just type keychain path/to/key.