core/lib/tests/modules/declare-lazyAttrsOf.nix
2024-05-01 18:26:04 -04:00

7 lines
159 B
Nix

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