core/lib/tests/modules/declare-submoduleWith-path.nix

10 lines
198 B
Nix
Raw Normal View History

2024-06-30 08:16:52 +00:00
{ lib, ... }:
{
2024-05-01 22:14:04 +00:00
options.submodule = lib.mkOption {
2024-06-30 08:16:52 +00:00
type = lib.types.submoduleWith { modules = [ ./declare-enable.nix ]; };
default = { };
2024-05-01 22:14:04 +00:00
};
config.submodule = ./define-enable.nix;
}