[Nix-dev] [Nix-commits] SVN commit: nix - r30325 - nixos/trunk/modules/installer/tools

Nicolas Pierron nicolas.b.pierron at gmail.com
Tue Nov 8 20:03:46 CET 2011


Hi,

On Tue, Nov 8, 2011 at 19:45, Eelco Dolstra <e.dolstra at tudelft.nl> wrote:
> Hi,
>
> On 11/08/2011 01:05 PM, Nicolas Pierron wrote:
>
>> The goal of this was to simplify the task for new comers, and avoid
>> them the pain of selecting what they need.
>
> I agree with that goal, but it's completely wrong for nixos-hardware-scan to do
> that.  The only thing that that script should do is generate a module that
> enables support for the user's hardware, can be included from configuration.nix,
> and can be re-generated if desired after a hardware change.  It shouldn't enable
> any packages other than required to use the detected hardware (e.g. firmware
> packages).  It's very counter-intuitive for nixos-hardware-scan to install (say)
> Subversion or KDE, depending on what installation CD I happened to use.
>
> What you want is a installation tool that generates an initial
> configuration.nix.  But that's a separate issue.

We have such tool, it is named "nixos-option --install" and it is
already part of the installation procedure describe in the manual.

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/


More information about the nix-dev mailing list