core/lib/tests/modules/declare-lazyAttrsOf.nix
2024-06-30 09:12:46 +01:00

8 lines
160 B
Nix

{ lib, ... }:
{
options.value = lib.mkOption {
type = lib.types.lazyAttrsOf (lib.types.str // { emptyValue.value = "empty"; });
default = { };
};
}