mirror of
https://github.com/nix-community/disko.git
synced 2024-11-05 06:04:20 +03:00
make-disk-image: make generating the image more efficent
This commit is contained in:
parent
b6fb19891f
commit
4fec5f515c
@ -29,7 +29,7 @@ let
|
||||
postVM = ''
|
||||
# shellcheck disable=SC2154
|
||||
mkdir -p "$out"
|
||||
${lib.concatMapStringsSep "\n" (disk: "cp ${disk.name}.raw \"$out\"/${disk.name}.raw") (lib.attrValues nixosConfig.config.disko.devices.disk)}
|
||||
${lib.concatMapStringsSep "\n" (disk: "mv ${disk.name}.raw \"$out\"/${disk.name}.raw") (lib.attrValues nixosConfig.config.disko.devices.disk)}
|
||||
${extraPostVM}
|
||||
'';
|
||||
partitioner = ''
|
||||
|
Loading…
Reference in New Issue
Block a user