summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-09-05 15:54:23 +0100
committerGitHub <noreply@github.com>2022-09-05 15:54:23 +0100
commit0c05616aa2f80ce24f5cbf87202759f2df693c80 (patch)
tree30f4363d18b3ade08607e35a9a56943bb960c949
parent4d50d08e81fede021abb79c5daea409916683783 (diff)
parent11d708dc31d9881aa647650bf9173860469152c2 (diff)
Merge pull request #36 from nix-community/nvme
fix nvme device names
-rw-r--r--types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.nix b/types.nix
index c846626..c71f05e 100644
--- a/types.nix
+++ b/types.nix
@@ -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 =