1{ config, lib, ... }:
2let
3 inherit (lib) mkOption types;
4in
5{
6 options.bare-submodule = mkOption {
7 type = types.submoduleWith {
8 shorthandOnlyDefinesConfig = config.shorthandOnlyDefinesConfig;
9 modules = [
10 {
11 options.nested = mkOption {
12 type = types.int;
13 default = 1;
14 };
15 }
16 ];
17 };
18 };
19}