core/lib/tests/modules/declare-lazyAttrsOf.nix

7 lines
159 B
Nix
Raw Permalink Normal View History

2024-05-01 22:14:04 +00:00
{ lib, ... }: {
options.value = lib.mkOption {
type = lib.types.lazyAttrsOf (lib.types.str // { emptyValue.value = "empty"; });
default = {};
};
}