How do I configure multiple nixpkgs's instances in flake's

No. See step #3 here for your choices, ultimately you have to manually import rather than using legacyPackages:

But generally I wouldn’t recommend mixing stable and unstable.