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:
Robert Hensing 2021-12-17 14:07:47 +01:00
parent 537db62345
commit 9fd9c617a9

View file

@ -88,13 +88,8 @@ let
nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
in withWarnings {
# Merge the option definitions in all modules, forming the full
# system configuration.
inherit (nixosWithUserModules) config options _module type extendModules;
in
withWarnings nixosWithUserModules // {
inherit extraArgs;
inherit (nixosWithUserModules._module.args) pkgs;
}