2022-02-28 21:57:03 +00:00
|
|
|
{ config, lib, ... }:
|
2022-01-24 14:58:17 +00:00
|
|
|
let
|
|
|
|
inherit (lib) mkOption types;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.bare-submodule = mkOption {
|
|
|
|
type = types.submoduleWith {
|
|
|
|
modules = [ ];
|
2022-02-28 21:57:03 +00:00
|
|
|
shorthandOnlyDefinesConfig = config.shorthandOnlyDefinesConfig;
|
2022-01-24 14:58:17 +00:00
|
|
|
};
|
|
|
|
default = {};
|
|
|
|
};
|
2022-02-28 21:57:03 +00:00
|
|
|
|
|
|
|
# config-dependent options: won't recommend, but useful for making this test parameterized
|
|
|
|
options.shorthandOnlyDefinesConfig = mkOption {
|
|
|
|
default = false;
|
|
|
|
};
|
2022-01-24 14:58:17 +00:00
|
|
|
}
|