[Nix-dev] Stripped down Linux distribution based on Nix/NixOS

Michael Raskin 7c6f434c at mail.ru
Tue May 3 19:48:12 CEST 2016


>Do you plan on using systemd as your system init ? I mean you can still use
>nixpkgs and it would probably be useful in itself but you would need to
>generate your own activation scripts.

And by the way, I do generate a system image for my notebook using 
NixPkgs and hand-written activation scripts, and it gives a large part
of NixOS benefits (it is easy to do rollbacks when you never overwrite
stuff anyway).

>Most likely you would have a fork of nixpkgs or an overlay that contains
>your kernel patches and also contain a release.nix to generate the whole
>system. If you have a look into nixpkgs for that file it should provide
>some enlightenment.

I would say that it is very likely that you can have your kernel build
be a «yet another kernel config» in NixPkgs. Not sure about zfs and spl
patches, but also may be possible to do this inside nixpkgs (or maybe
with minimal overrides).

For the system image generation code it seems more reasonable to have
your own repository.





More information about the nix-dev mailing list