[Nix-dev] [Nix-commits] [NixOS/nixos] b609ff: allow out-of-tree nixos modules
Michael Raskin
7c6f434c at mail.ru
Sat Jul 21 17:58:02 CEST 2012
> 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...
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