mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 10:49:48 +01:00
home-environment: add option home.extraOutputsToInstall
This commit is contained in:
parent
ee7f2413ed
commit
c07fa70d58
1 changed files with 12 additions and 0 deletions
|
@ -187,6 +187,17 @@ in
|
||||||
description = "The set of packages to appear in the user environment.";
|
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
|
||||||
|
<varname>home.packages</varname> that should be installed into
|
||||||
|
the user environment.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
home.path = mkOption {
|
home.path = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
description = "The derivation installing the user packages.";
|
description = "The derivation installing the user packages.";
|
||||||
|
@ -457,6 +468,7 @@ in
|
||||||
name = "home-manager-path";
|
name = "home-manager-path";
|
||||||
|
|
||||||
paths = cfg.packages;
|
paths = cfg.packages;
|
||||||
|
inherit (cfg) extraOutputsToInstall;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Environment of packages installed through home-manager";
|
description = "Environment of packages installed through home-manager";
|
||||||
|
|
Loading…
Reference in a new issue