aboutsummaryrefslogtreecommitdiff
path: root/tests/modules/declare-submoduleWith-path.nix
blob: 477647f32121123abde74b0aca2ee56c7f2c8b15 (plain)
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;
}