1# prefer-remote-fetch overlay {#sec-prefer-remote-fetch} 2 3`prefer-remote-fetch` is an overlay that download sources on remote builder. This is useful when the evaluating machine has a slow upload while the builder can fetch faster directly from the source. To use it, put the following snippet as a new overlay: 4 5```nix 6self: super: 7 (super.prefer-remote-fetch self super) 8``` 9 10A full configuration example for that sets the overlay up for your own account, could look like this 11 12```ShellSession 13$ mkdir ~/.config/nixpkgs/overlays/ 14$ cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF 15 self: super: super.prefer-remote-fetch self super 16EOF 17```