diff --git a/net-image/net-image.nix b/net-image/net-image.nix index 8ce8b5b..17ab9d6 100644 --- a/net-image/net-image.nix +++ b/net-image/net-image.nix @@ -129,13 +129,13 @@ in echo "Exporting rootfs image" mkdir -p $rootfs - mv ${rootfsImage} $rootfs + cp -r ${rootfsImage} $rootfs # Populate the files intended for /boot/firmware mkdir -p firmware ${config.netImage.populateFirmwareCommands} mkdir -p $bootfs - mv firmware $bootfs + cp -r firmware $bootfs ${config.netImage.postBuildCommands} '';