diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,14 @@
 # Changelog
 
-## [0.0.1.2] - 2024-08-20
+## [0.0.1.3] - 2024-08-22
+
+### Changed
+
+* Made required object codecs produce a required type.
+
+## [0.0.1.2] - 2024-08-21
+
+### Changed
 
 * Fixed the nix type that corresponds to `null`.
 * Fixed that some nix types were not being simplified enough.
diff --git a/autodocodec-nix.cabal b/autodocodec-nix.cabal
--- a/autodocodec-nix.cabal
+++ b/autodocodec-nix.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           autodocodec-nix
-version:        0.0.1.2
+version:        0.0.1.3
 synopsis:       Autodocodec interpreters for nix
 homepage:       https://github.com/NorfairKing/autodocodec#readme
 bug-reports:    https://github.com/NorfairKing/autodocodec/issues
diff --git a/src/Autodocodec/Nix.hs b/src/Autodocodec/Nix.hs
--- a/src/Autodocodec/Nix.hs
+++ b/src/Autodocodec/Nix.hs
@@ -132,10 +132,10 @@
       RequiredKeyCodec key o mDesc ->
         M.singleton key $
           Option
-            { optionType = OptionTypeNullOr <$> valueCodecNixOptionType o,
+            { optionType = valueCodecNixOptionType o,
               optionDescription = mDesc,
-              optionDefault = Just JSON.Null -- [ref:NixOptionNullable]
-            } -- TODO use the docs
+              optionDefault = Nothing -- [ref:NixOptionNullable]
+            }
       OptionalKeyCodec key o mDesc ->
         M.singleton key $
           Option
