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

25 lines
369 B
Nix

{ lib, ... }:
{
options.value = lib.mkOption { type = lib.types.lazyAttrsOf lib.types.boolByOr; };
config.value = {
falseFalse = lib.mkMerge [
false
false
];
trueFalse = lib.mkMerge [
true
false
];
falseTrue = lib.mkMerge [
false
true
];
trueTrue = lib.mkMerge [
true
true
];
};
}