Quoting Moritz Ulrich (2013-11-01 22:24:05)
> The correct way would be adding the data to the nix-store. This way
> you'd get all the benefits of Nix(OS): Atomic upgrades, easy switching
> between configurations, rollbacks, etc.
>
> Nix (the language) supports some functions to accomplish this:
>
The correct way would be adding the data to the nix-store. This way
you'd get all the benefits of Nix(OS): Atomic upgrades, easy switching
between configurations, rollbacks, etc.
Nix (the language) supports some functions to accomplish this:
- builtins.readFile reads a file and returns the conte
I understand that one advantage of nixops is being able to deploy a set of
services atomically, possibly including data that is needed by the services.
What is the recommended way to get nixops to deploy some data for a service at
the same time it deploys the service ?
I would like to be able to