nixos/lib/eval-config.nix: Return all of evalModules return attrs
We were exposing everything pointwise anyway. If any new attrs are added, there's a good chance we'll want to expose them anyway.
This commit is contained in:
parent
537db62345
commit
9fd9c617a9
|
@ -88,13 +88,8 @@ let
|
||||||
|
|
||||||
nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
|
nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
|
||||||
|
|
||||||
in withWarnings {
|
in
|
||||||
|
withWarnings nixosWithUserModules // {
|
||||||
# Merge the option definitions in all modules, forming the full
|
|
||||||
# system configuration.
|
|
||||||
inherit (nixosWithUserModules) config options _module type extendModules;
|
|
||||||
|
|
||||||
inherit extraArgs;
|
inherit extraArgs;
|
||||||
|
|
||||||
inherit (nixosWithUserModules._module.args) pkgs;
|
inherit (nixosWithUserModules._module.args) pkgs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user