mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
add flag support
This commit is contained in:
1 parent
c40b0dc031
commit
fc568cf797
4 files changed
+42
-3
No files matched your search
@@ -75,6 +75,9 @@ let {
|
||||
${optionalString (x.bootable or false) ''
|
||||
parted -s ${q.device} set ${toString q.index} boot on
|
||||
''}
|
||||
${concatMapStringsSep "" (flag: ''
|
||||
parted -s ${q.device} set ${toString q.index} ${flag} on
|
||||
'') (x.flags or [])}
|
||||
${create-f { device = q.device + toString q.index; } x.content}
|
||||
'';
|
||||
|
||||
|
||||
Reference in new issue
Block a user