diff --git a/lib/types.nix b/lib/types.nix index 5e1127ad..4786c64e 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -22,7 +22,7 @@ rec { description = "raw lua code"; descriptionClass = "noun"; merge = mergeEqualOption; - check = isRawType; + check = v: (isRawType v) || (v ? __empty); }; maybeRaw = type: types.either type rawLua;