Merge pull request #36 from nix-community/nvme

fix nvme device names
This commit is contained in:
Jörg Thalheim 2022-09-05 15:54:23 +01:00 committed by GitHub
commit 0c05616aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ rec {
schemas = {
dev__da = dev + toString index; # /dev/{s,v}da style
dev_disk = "${dev}-part${toString index}"; # /dev/disk/by-id/xxx style
dev_nvme = "${dev}n1p${toString index}"; # /dev/nvme0n1p1 style
dev_nvme = "${dev}p${toString index}"; # /dev/nvme0n1p1 style
dev_md = "${dev}p${toString index}"; # /dev/nvme0n1p1 style
};
detectSchema =