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