@@ -380,6 +380,8 @@ rec {
380380 runAsRoot ? null,
381381 # Size of the virtual machine disk to provision when building the image.
382382 diskSize ? 1024,
383+ # Time of creation of the image.
384+ created ? "1970-01-01T00:00:01Z",
383385 }:
384386
385387 let
@@ -387,10 +389,9 @@ rec {
387389
388390 # Create a JSON blob of the configuration. Set the date to unix zero.
389391 baseJson = writeText "${baseName}-config.json" (builtins.toJSON {
390− created = "1970-01-01T00:00:01Z";
392+ inherit created config;
391393 architecture = "amd64";
392394 os = "linux";
393− config = config;
394395 });
395396
396397 layer =