19 lines
293 B
Nix
19 lines
293 B
Nix
|
{ lib, ... }:
|
||
|
let
|
||
|
inherit (lib) mkOption types;
|
||
|
in
|
||
|
{
|
||
|
options.bare-submodule = mkOption {
|
||
|
type = types.submoduleWith {
|
||
|
modules = [
|
||
|
{
|
||
|
options.nested = mkOption {
|
||
|
type = types.int;
|
||
|
default = 1;
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|