mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
9 lines
163 B
Nix
9 lines
163 B
Nix
{ lib, moduleType, ... }:
|
|
let inherit (lib) mkOption types;
|
|
in
|
|
{
|
|
options.variants = mkOption {
|
|
type = types.lazyAttrsOf moduleType;
|
|
default = {};
|
|
};
|
|
}
|