<worldofpeace> Jan Tojnar: any opinion on the discourse in https://github.com/NixOS/nixpkgs/pull/113339 ?
<jtojnar> worldofpeace: does desktop-specific sourcing even exist with upstream session files?
<jtojnar> and would that work on wayland?
<worldofpeace> Jan Tojnar: tbh I'm not sure what "desktop specific sourcing" was meant by there. I kinda translated that as using sessionCommands https://github.com/NixOS/nixpkgs/issues/75867#issuecomment-778693934
<worldofpeace> overall I was feeling a bit jaded because ssh has to have this weird design where you need to provide a different executable program to get a dialog that looks correct in your environment. and I think desktops used to set them as a part of their session startup (IIRC plasma), but its all been redirected to the distributor. which doesn't really make much sense to me because who really cares what dialog ssh uses.
<jtojnar> worldofpeace: alternately, we could generate a script that executes correct program based on environment
<worldofpeace> Jan Tojnar: like the xdg-open of ssh-agent/s?
<jtojnar> yeah
<worldofpeace> hmm, I don't think the programs are installed to PATH though
<jtojnar> we could hardcode them in the script based on the enabled desktops
<worldofpeace> hmm, I'm still having trouble visualizing that.
<jtojnar> With `exec "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass" "$@"` at the end
<worldofpeace> Jan Tojnar: oh so you mean instead of having the if and the wrapped script we just turn that entirely into a bash script