[Nix-dev] NixOps prefer send from local.

Danylo Hlynskyi abcz2.uprola at gmail.com
Fri Apr 28 22:35:18 CEST 2017


did you consider

https://nixos.org/nixops/manual/#opt-deployment.hasFastConnection

?

2017-04-28 23:12 GMT+03:00 Kevin Cox <kevincox at kevincox.ca>:

> Hi all.
>
> I am using NixOps to configure a machine on the local network,
> unfortunately my uplink to the internet isn't great but the network is
> fast. Unfortunately when deploying I first download all the packages to
> my machine, then the remote host prefers using configured binary caches
> to download the packages. I was wondering if there is a way to prefer
> copying files from the local machine rather then consulting caches at all.
>
> I can remove the caches from the remote machines configuration but I do
> want to be able to install packages from the caches in user profiles, so
> while this is a workaround while deveoping I would need to remember to
> enable them again before I was done.
>
> I can also nix-serve the local machine but I am back to modifying the
> list of caches between deploying and using.
>
> So while I have two workarounds I was wondering if there was a simple
> solution.
>
> Thanks, Kevin
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170428/331465b9/attachment.html>


More information about the nix-dev mailing list