1c3614cbc8
This removes the `nixosSubmodule` option in favor of a new option
`submoduleSupport.enable`. This name better indicates that the
submodule mode applies to both NixOS and nix-darwin.
(cherry picked from commit 2f372ab4d6
)
20 lines
362 B
Nix
20 lines
362 B
Nix
{ 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.
|
|
'';
|
|
};
|
|
};
|
|
}
|