mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
make-disk-image: make generating the image more efficent
This commit is contained in:
1 parent
b6fb19891f
commit
4fec5f515c
1 file changed
+1
-1
@@ -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 = ''
|
||||
|
||||
Reference in new issue
Block a user