mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
2 files changed
+3
-3
No files matched your search
@@ -121,7 +121,7 @@ in
|
||||
{
|
||||
buildInputs = dependencies;
|
||||
inherit preVM QEMU_OPTS;
|
||||
postVm = cfg.extraPostVM;
|
||||
postVM = cfg.extraPostVM;
|
||||
inherit (diskoCfg) memSize;
|
||||
}
|
||||
(partitioner + installer));
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user