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

3 lines
110 B
Nix

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