blob: c92020306b45ee0a77c6591e65f2bbcc9fcbca39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
options.number = mkOption {
type = types.submodule {
freeformType = types.attrsOf (types.either types.int types.int);
};
default = {
int = 42;
}; # should not emit a warning
};
}
|