Hi Sebastian,
On Fri, Aug 8, 2014 at 4:57 PM, Sebastian Korten <[email protected]
> wrote:
> I'm currently getting to know nixops and am quite fascinated by it ;o)
>
> Is there a way to automatically deploy data into a server?
> Would I do this by creating a nixpkg entry for it and then use a
> personal/modified nixpkgs repo with nixops (maybe by using $NIX_PATH or
> something like that) or is there some other hook included?
>
Can you give a bit more information about your exact use case?
In principle you can copy anything to the machine, by just referring to it
in your machine's configuration. E.g. if you have a local directory of
static html files in ./www, you would just refer to this directory in your
httpd/ngixn configuration (e.g. using ${./www}, and it would automatically
be imported into the nix store and copied to the machine.
Cheers,
Rob
--
Rob Vermaas
[email] [email protected]
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev