13 lines
222 B
Nix
13 lines
222 B
Nix
{ lib, ... }:
|
|
{
|
|
options.submodule = lib.mkOption {
|
|
type = lib.types.submoduleWith {
|
|
modules = [
|
|
./declare-enable.nix
|
|
];
|
|
};
|
|
default = { };
|
|
};
|
|
|
|
config.submodule = ./define-enable.nix;
|
|
}
|