fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Robert HelgessonMerge PR #421575790441

master
795 B32 linesraw
1{ lib, ... }:
2
3with lib;
4
5{
6  meta.maintainers = [ maintainers.rycee ];
7
8  options.submoduleSupport = {
9    enable = mkOption {
10      type = types.bool;
11      default = false;
12      internal = true;
13      description = ''
14        Whether the Home Manager module system is used as a submodule
15        in, for example, NixOS or nix-darwin.
16      '';
17    };
18
19    externalPackageInstall = mkOption {
20      type = types.bool;
21      default = false;
22      internal = true;
23      description = ''
24        Whether the packages of {option}`home.packages` are
25        installed separately from the Home Manager activation script.
26        In NixOS, for example, this may be accomplished by installing
27        the packages through
28        {option}`users.users.‹name?›.packages`.
29      '';
30    };
31  };
32}