summaryrefslogtreecommitdiffstats
path: root/lib/tests/modules/declare-submoduleWith-path.nix
blob: fa16c12bd2120893006d33ae79f7b20c0f3b55e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ lib, ... }:
{
  options.submodule = lib.mkOption {
    type = lib.types.submoduleWith {
      modules = [
        ./declare-enable.nix
      ];
    };
    default = { };
  };

  config.submodule = ./define-enable.nix;
}