Build your own custom VSCode wrapper from a set of plugins using the same module system as NixOS uses to compose your thing.
There is a example on the test.nix file, flake support is a matter of import with flake = false
that will expose the values from default.nix.