mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 14:33:28 +01:00
Specify alignment for sgdisk.
This commit is contained in:
1 parent
be98cffef0
commit
38daf3c84a
1 file changed
+2
@@ -100,6 +100,8 @@ in
|
|||||||
default = ''
|
default = ''
|
||||||
${lib.concatStrings (map (partition: ''
|
${lib.concatStrings (map (partition: ''
|
||||||
sgdisk \
|
sgdisk \
|
||||||
|
--set-alignment=2048 \
|
||||||
|
--align-end \
|
||||||
--new=${toString partition._index}:${partition.start}:${partition.end} \
|
--new=${toString partition._index}:${partition.start}:${partition.end} \
|
||||||
--change-name=${toString partition._index}:${partition.label} \
|
--change-name=${toString partition._index}:${partition.label} \
|
||||||
--typecode=${toString partition._index}:${partition.type} \
|
--typecode=${toString partition._index}:${partition.type} \
|
||||||
|
|||||||
Reference in new issue
Block a user