Edit to this solution:
Since this Post I noticed the nix commands will often download all package definitions from nixpkgs aswell as nixpkgs-unfree.
To instead pin both flakes in the registry using the system config see this solution in a newer post about this.