mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
1 parent
081f86329c
commit
f70b9aabba
1 file changed
+2
@@ -59,6 +59,8 @@ rec {
|
|||||||
"${dev}p${toString index}" # /dev/nvme0n1p1 style
|
"${dev}p${toString index}" # /dev/nvme0n1p1 style
|
||||||
else if match "/dev/md/.+" dev != null then
|
else if match "/dev/md/.+" dev != null then
|
||||||
"${dev}${toString index}" # /dev/md/raid1 style
|
"${dev}${toString index}" # /dev/md/raid1 style
|
||||||
|
else if match "/dev/mapper/.+" dev != null then
|
||||||
|
"${dev}${toString index}" # /dev/mapper/vg-lv1 style
|
||||||
else
|
else
|
||||||
abort ''
|
abort ''
|
||||||
${dev} seems not to be a supported disk format. Please add this to disko in https://github.com/nix-community/disko/blob/master/types/default.nix
|
${dev} seems not to be a supported disk format. Please add this to disko in https://github.com/nix-community/disko/blob/master/types/default.nix
|
||||||
|
|||||||
Reference in new issue
Block a user