Symlinks in configuration.nix


I have a few badly behaving vim plugins that refuse to find the things they need where I’m telling them to, I probably would need to fork/patch the plugins in order to modify their behaviour.
But for now I just want them to work, so I’m looking to adapt my box to what those plugins need.

What I pretty much need is a quick fix in my configuration.nix to create new symlinks on demand that point back to a directory in my homedir.

I’ve seen this but wondering if there are other cleaner ways in nixpkgs/nixos,

something like symlink ${pkgs.stuf} /home/azul/blah