2019-02-09 14:08:16 +00:00
|
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
meta.maintainers = [ maintainers.rycee ];
|
|
|
|
|
|
|
|
|
|
options.submoduleSupport = {
|
|
|
|
|
enable = mkOption {
|
|
|
|
|
type = types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
internal = true;
|
|
|
|
|
description = ''
|
|
|
|
|
Whether the Home Manager module system is used as a submodule
|
|
|
|
|
in, for example, NixOS or nix-darwin.
|
|
|
|
|
'';
|
|
|
|
|
};
|
2017-12-19 14:43:40 +00:00
|
|
|
|
|
|
|
|
|
externalPackageInstall = mkOption {
|
|
|
|
|
type = types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
internal = true;
|
|
|
|
|
description = ''
|
|
|
|
|
Whether the packages of <option>home.packages</option> are
|
|
|
|
|
installed separately from the Home Manager activation script.
|
|
|
|
|
In NixOS, for example, this may be accomplished by installing
|
|
|
|
|
the packages through
|
2019-09-01 19:28:40 +00:00
|
|
|
|
<option>users.users.‹name?›.packages</option>.
|
2017-12-19 14:43:40 +00:00
|
|
|
|
'';
|
|
|
|
|
};
|
2019-02-09 14:08:16 +00:00
|
|
|
|
};
|
|
|
|
|
}
|