diff --git a/pkgs/pkgs-lib/formats.nix b/pkgs/pkgs-lib/formats.nix index 4a81c1319463..14ca988e9c49 100644 --- a/pkgs/pkgs-lib/formats.nix +++ b/pkgs/pkgs-lib/formats.nix @@ -487,7 +487,10 @@ optionalAttrs allowAliases aliases { }: json { } // { - type = mkStructuredType { typeName = "TOML"; }; + type = mkStructuredType { + typeName = "TOML"; + nullable = false; + }; generate = name: value: