Skip to content

Commit

Permalink
Specify alignment for sgdisk.
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfvesely authored and mergify[bot] committed Sep 13, 2023
1 parent be98cff commit 38daf3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/types/gpt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ in
default = ''
${lib.concatStrings (map (partition: ''
sgdisk \
--set-alignment=2048 \
--align-end \
--new=${toString partition._index}:${partition.start}:${partition.end} \
--change-name=${toString partition._index}:${partition.label} \
--typecode=${toString partition._index}:${partition.type} \
Expand Down

0 comments on commit 38daf3c

Please sign in to comment.