mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
parent
081f86329c
commit
f70b9aabba
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue