2022-02-28 22:57:03 +01:00
|
|
|
{ config, lib, ... }:
|
2022-01-24 15:58:17 +01:00
|
|
|
let
|
|
|
|
inherit (lib) mkOption types;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.bare-submodule = mkOption {
|
|
|
|
type = types.submoduleWith {
|
2022-02-28 22:57:03 +01:00
|
|
|
shorthandOnlyDefinesConfig = config.shorthandOnlyDefinesConfig;
|
2022-01-24 15:58:17 +01:00
|
|
|
modules = [
|
|
|
|
{
|
|
|
|
options.nested = mkOption {
|
|
|
|
type = types.int;
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|