diff --git a/lib/make-disk-image.nix b/lib/make-disk-image.nix index 2c0808c..60f437d 100644 --- a/lib/make-disk-image.nix +++ b/lib/make-disk-image.nix @@ -121,7 +121,7 @@ in { buildInputs = dependencies; inherit preVM QEMU_OPTS; - postVm = cfg.extraPostVM; + postVM = cfg.extraPostVM; inherit (diskoCfg) memSize; } (partitioner + installer)); diff --git a/module.nix b/module.nix index 6543e11..cb95f02 100644 --- a/module.nix +++ b/module.nix @@ -59,9 +59,9 @@ in extraPostVM = lib.mkOption { type = lib.types.lines; description = '' - extra shell code to execute once the disk image(s) have been succesfully created and moved to $out + extra shell code to execute once the disk image(s) have been successfully created and moved to $out ''; - default = ""; + default = ":"; example = lib.literalExpression '' ''${pkgs.zstd}/bin/zstd --compress $out/*raw rm $out/*raw