[Nix-dev] Proposal: Standard installation procedure

Alexander Kjeldaas ak at formalprivacy.com
Tue Oct 21 10:12:09 CEST 2014


On Mon, Oct 20, 2014 at 9:50 AM, Eelco Dolstra <eelco.dolstra at logicblox.com>
wrote:

> I don't think nixos-install is that complex. Almost all of the
> initialisation it
> does in the target file system is to make nix-build work in the chroot. The
> NixOS initialisation is done by the activation script.
>
> Check out "nixos-container create" - it does almost no initialisation of
> the
> container file system, since everything is done by the activation script
> during
> the first boot of the container.
>
>

What I find missing is *creation* of the actual partitions, file systems
etc. integrated into the system startup.
This can be accomplished as an idempotent initialization and also be turned
off by default (require boot flag).

Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141021/a6995490/attachment.html 


More information about the nix-dev mailing list