11 lines
166 B
Nix
11 lines
166 B
Nix
|
{ lib, moduleType, ... }:
|
||
|
let
|
||
|
inherit (lib) mkOption types;
|
||
|
in
|
||
|
{
|
||
|
options.variants = mkOption {
|
||
|
type = types.lazyAttrsOf moduleType;
|
||
|
default = { };
|
||
|
};
|
||
|
}
|