summary refs log blame commit diff
path: root/lib/tests/modules/declare-submoduleWith-path.nix
blob: 477647f32121123abde74b0aca2ee56c7f2c8b15 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











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

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