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

8 lines
160 B
Nix

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