Skip to content

Commit

Permalink
add boot mode
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Nov 27, 2023
1 parent 6a89c2e commit a8ee95f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/amazon-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ in
${pkgs.qemu-utils}/bin/qemu-img convert -f raw -O vpc ${config.system.build.image}/image.raw $out/image.vhd
cat <<EOF > $out/nix-support/image-info.json
{
"boot_mode": "uefi",
"label": "${config.system.nixos.label}",
"system": "${pkgs.stdenv.hostPlatform.system}",
"file": "$out/image.vhd"
Expand Down

0 comments on commit a8ee95f

Please sign in to comment.