diff options
author | Robert Helgesson <robert@rycee.net> | 2017-10-15 15:58:34 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2017-10-15 15:58:34 +0200 |
commit | c07fa70d58738eb28cfb84c089cccc8de96783e8 (patch) | |
tree | 0b1efe09ce5c9f6455710745cc91f578758fa59f /modules | |
parent | ee7f2413edf40f323fff76c876304ceca87931f9 (diff) |
home-environment: add option `home.extraOutputsToInstall`
Diffstat (limited to 'modules')
-rw-r--r-- | modules/home-environment.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 8b6a6cfa8a8..9b900ef0cdf 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 + <varname>home.packages</varname> 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"; |