mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
home-manager: expose all attributes returned by evalModules
This change brings the homeConfigurations output inline with how the nixosConfiguration output presents its attributes. The primary purpose is for exposing the graph attribute however there is no downside to exposing the rest along with it to prevent needing to add each desired attribute individually in the future if more are added.
This commit is contained in:
@@ -57,9 +57,8 @@ let
|
||||
let
|
||||
module = moduleChecks rawModule;
|
||||
in
|
||||
{
|
||||
inherit (module) options config;
|
||||
|
||||
module
|
||||
// {
|
||||
activationPackage = module.config.home.activationPackage;
|
||||
|
||||
# For backwards compatibility. Please use activationPackage instead.
|
||||
|
||||
Reference in New Issue
Block a user