[Nix-dev] NixOps - How is the configuration applied when using targetEnv none?

Kevin Cox kevincox at kevincox.ca
Fri Sep 16 22:46:04 CEST 2016


On Sep 16, 2016 19:50, "Wilhelm Schuster" <ws at wilhelm.re> wrote:

Hi,

I’m trying to use NixOps to deploy onto an existing NixOs instance
(physical server; targetEnv = “none") and was wondering how the system
configuration is applied. Specifically, does my NixOps description of the
server get merged with the local configuration (meaning the one on the
server itself in /etc/nixos/configuration.nix), or does it completely
replace it?


It completely replaces it. In general nixops doesn't read anything from the
target server. Everything is built first, then pushed to the target. The
only reason that the state of the target will have any effect is if you
have a runtime program that reads an explicit path.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160916/de9a6c31/attachment-0001.html>


More information about the nix-dev mailing list