mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
2 files changed
+3
-3
No files matched your search
@@ -121,7 +121,7 @@ in
|
|||||||
{
|
{
|
||||||
buildInputs = dependencies;
|
buildInputs = dependencies;
|
||||||
inherit preVM QEMU_OPTS;
|
inherit preVM QEMU_OPTS;
|
||||||
postVm = cfg.extraPostVM;
|
postVM = cfg.extraPostVM;
|
||||||
inherit (diskoCfg) memSize;
|
inherit (diskoCfg) memSize;
|
||||||
}
|
}
|
||||||
(partitioner + installer));
|
(partitioner + installer));
|
||||||
|
|||||||
+2
-2
@@ -59,9 +59,9 @@ in
|
|||||||
extraPostVM = lib.mkOption {
|
extraPostVM = lib.mkOption {
|
||||||
type = lib.types.lines;
|
type = lib.types.lines;
|
||||||
description = ''
|
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 ''
|
example = lib.literalExpression ''
|
||||||
''${pkgs.zstd}/bin/zstd --compress $out/*raw
|
''${pkgs.zstd}/bin/zstd --compress $out/*raw
|
||||||
rm $out/*raw
|
rm $out/*raw
|
||||||
|
|||||||
Reference in new issue
Block a user