3 options.value = lib.mkOption {
4 type = lib.types.anything;
9 value.mkiffalse = lib.mkIf false {};
12 value.mkiftrue = lib.mkIf true {};
15 value.mkdefault = lib.mkDefault 0;
21 value.mkmerge = lib.mkMerge [
26 value.mkbefore = lib.mkBefore true;
29 value.nested = lib.mkMerge [
31 foo = lib.mkDefault 0;
32 bar = lib.mkIf false 0;
35 foo = lib.mkIf true (lib.mkForce 1);
37 baz = lib.mkDefault "baz";