diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 8b6a6cfa..9b900ef0 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -187,6 +187,17 @@ in description = "The set of packages to appear in the user environment."; }; + home.extraOutputsToInstall = mkOption { + type = types.listOf types.str; + default = []; + example = [ "doc" "info" "devdoc" ]; + description = '' + List of additional package outputs of the packages + home.packages that should be installed into + the user environment. + ''; + }; + home.path = mkOption { internal = true; description = "The derivation installing the user packages."; @@ -457,6 +468,7 @@ in name = "home-manager-path"; paths = cfg.packages; + inherit (cfg) extraOutputsToInstall; meta = { description = "Environment of packages installed through home-manager";