nixpkgs/lib/tests/modules/freeform-attrsOf.nix

4 lines
102 B
Nix
Raw Normal View History

{ lib, ... }: {
config._module.freeformType = with lib.types; attrsOf (either str (attrsOf str));
}