nixpkgs/lib/tests/modules/declare-submoduleWith-path.nix
2020-01-02 09:59:35 +01:00

13 lines
221 B
Nix

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