summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-09-05 14:34:54 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-09-05 14:34:54 +0200
commit11d708dc31d9881aa647650bf9173860469152c2 (patch)
tree30f4363d18b3ade08607e35a9a56943bb960c949
parent4d50d08e81fede021abb79c5daea409916683783 (diff)
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 =