nixpkgs/lib/tests/modules/freeform-attrsOf.nix
2020-08-03 22:37:01 +02:00

4 lines
102 B
Nix

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