at 24.11-pre 163 B view raw
1{ lib, moduleType, ... }: 2let inherit (lib) mkOption types; 3in 4{ 5 options.variants = mkOption { 6 type = types.lazyAttrsOf moduleType; 7 default = {}; 8 }; 9}