[Nix-dev] [Nix-commits] [NixOS/nixos] b609ff: allow out-of-tree nixos modules

Mathijs Kwik mathijs at bluescreen303.nl
Sat Jul 21 18:06:53 CEST 2012


On Sat, Jul 21, 2012 at 5:58 PM, Michael Raskin <7c6f434c at mail.ru> wrote:
>>  Changed paths:
>>    M default.nix
>>    M modules/security/sudo.nix
>>
>>  Log Message:
>>  -----------
>>  allow out-of-tree nixos modules
>>
>>The environment variable "NIXOS_EXTRA_MODULES" is now checked to
>>contain a path to a file similar to modules/module-list.nix.
>>
>>This gives the ability to include nixos modules that are not in the
>>nixos source tree.
>>
>>This can be useful for modules that are still experimental, or which
>>aren't useful for other nixos users. Of course, this was already
>>possible to do this using a forked nixos tree, but with this
>>functionality, you can just rely on the nixos channel, easing things a
>>lot.
>
> Actually, Eelco already used inclusion of extra modules in non-forked
> NixOS via configuration.nix in uploaded configurations...

I'm not sure I understand what you mean.
Are you saying this is already possible some other way?
If so, do you have a link or small example?

>
> But this is a good option to have.
>
> PS. Could we have a reply-to pointing to nix-dev, as with subversion
> nix-commits?
>
>
>


More information about the nix-dev mailing list