Great, thanks!

On Sun, Jun 14, 2015 at 2:53 AM, Rob Vermaas <[email protected]> wrote:

> Hi Richard,
>
> I have a case where a value in my logical network configuration will be
>> different depending on what physical network is deployed to. It's the base
>> URI of the web service, which will be http://localhost:8080/ when
>> deploying to a local virtualbox instance and the public address otherwise.
>>
>
> You can use config.networking.publicIPv4 [1] option to get the public IP
> address of the nixops machine. This is set by nixops.
>
> Cheers,
> Rob
>
> [1] http://nixos.org/nixops/manual/#opt-networking.publicIPv4
>
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to