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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
222 B
Nix
Raw Normal View History

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