Well do’h. 25.05 isn’t released yet, so that was probably not much helpful.
This should work, moving your plugins section into a package override:
programs.yazi = {
package = pkgs.yazi.override {
plugins = {
full-border = "${yazi-plugins}/full-border.yazi";
# ...
};
};
}